Commit Graph

256 Commits

Author SHA1 Message Date
4656c04ad9 Add mnist & webserver documentation 2022-12-09 22:18:58 +01:00
cedb240df2 Add recovery option 2022-12-07 13:09:39 +01:00
963a4afcff Add cnn knuth shuffle 2022-12-07 10:44:28 +01:00
julienChemillier
c74d3f574b Merge branch 'main' of https://github.com/julienChemillier/TIPE 2022-12-07 10:27:52 +01:00
ffc0c6ea9f Add knuth shuffle 2022-11-30 11:24:37 +01:00
e584dfc791 Add test-network option implementation 2022-11-30 10:21:56 +01:00
7da3544d8b Add recognize option 2022-11-25 15:17:47 +01:00
julienChemillier
c1283d8c4b Fix softmax_backward 2022-11-25 14:49:21 +01:00
88bec19189 Update neuron_io.c 2022-11-23 11:45:28 +01:00
4cafabdbee Update train.c 2022-11-23 11:37:26 +01:00
11ce67f845 Update multithreading 2022-11-23 10:41:19 +01:00
18900f3fe9 Change images aspect ration 2022-11-19 22:22:24 +01:00
cfb3cb28d7 Add cnn/preview.c 2022-11-19 17:39:56 +01:00
d0b7781695 Add jpeg dataset implementation 2022-11-19 16:09:07 +01:00
5a0f807a00 Update update.c 2022-11-18 14:09:49 +01:00
d03f7493b2 Move update 2022-11-16 10:38:01 +01:00
julienChemillier
50af676027 Learning_rate is a (NON NULL) float 2022-11-15 18:15:18 +01:00
3e7309c6e1 Add current_accuracy estimation 2022-11-15 17:50:33 +01:00
julienChemillier
f5f22c6b3e Fix issues 2022-11-15 12:58:00 +01:00
julienChemillier
d94f61bb77 First results in backprop ? 2022-11-15 12:50:38 +01:00
julienChemillier
c73d4d5b90 Fix 'nan' issue 2022-11-15 12:47:33 +01:00
julienChemillier
65505858da Update backprop 2022-11-12 14:20:13 +01:00
c0381efa71 Ajout de utils.cu & recoloration des tests
Ajout de test.cu:
    Suppression de redondances dans le code
Recoloration des tests:
    Ajout de couleurs pour clarifier le bon fonctionnement ou non du programme
2022-11-11 11:20:30 +01:00
17bca42253 Update Makefile 2022-11-09 12:55:55 +01:00
julienChemillier
43ffdc1b56 Fix an issue 2022-11-09 10:55:14 +01:00
60473ed567 Update cnn neuron_io 2022-11-08 19:57:27 +01:00
5a34311dfb Update cnn utils 2022-11-08 19:57:13 +01:00
70e0ed08b7 Update mnist utils 2022-11-08 19:56:58 +01:00
julienChemillier
72919406a0 Fix issues 2022-11-08 18:04:58 +01:00
julienChemillier
0f761d1e0c Fix of an issue regarding the activation function 2022-11-04 12:56:13 +01:00
julienChemillier
b21ac23673 Add of the dropout feature 2022-11-04 12:02:00 +01:00
julienChemillier
682715d5d7 Add learning_rate missing 2022-11-04 11:31:34 +01:00
julienChemillier
7a0ee3be7b Implementation of the initialisation 2022-11-04 10:54:32 +01:00
julienChemillier
dffc1598ff Use of 'linearisation' variable 2022-11-04 08:31:58 +01:00
88ff365c70 Clean compilers warnings a bit 2022-11-03 18:45:38 +01:00
4637d62e73 Update backpropagation.c 2022-11-03 18:13:01 +01:00
julienChemillier
698d5820cd Add backpropagation (.h and .c) 2022-11-03 17:50:11 +01:00
julienChemillier
df8d4f264e Deletion of last_d_bias and last_d_weights 2022-11-03 16:29:53 +01:00
julienChemillier
0e317549a5 Creation of update (.h and .c) 2022-11-03 16:28:03 +01:00
f30cf0229a Fix convolution 2022-11-03 11:26:08 +01:00
julienChemillier
ac76fa3f8b Fix of an error 2022-11-03 11:04:47 +01:00
ee6b6c7fc4 Update convolution.cu
Fix compilation with `extern "C" { ... }`
2022-11-03 10:05:21 +01:00
julienChemillier
59a536aad7 Add print files (non tested) 2022-11-01 18:06:52 +01:00
1608256e43 Add cuda convolution 2022-11-01 17:24:29 +01:00
julienChemillier
a1dba81e17 Add 'get_function_activation' function 2022-11-01 11:20:17 +01:00
julienChemillier
3d63e9e63b Updates in comments 2022-11-01 10:10:43 +01:00
julienChemillier
d5c7c03f82 Add of input_z and and fix of issues 2022-10-31 20:08:42 +01:00
julienChemillier
d6d69a1acb Add functions for batches (non tested) 2022-10-26 18:27:46 +02:00
julienChemillier
816f7ea334 Add 'get_function_activation' function 2022-10-26 17:32:54 +02:00
3d812701f7 New implementation of CUDA matrix multiplication 2022-10-25 17:49:58 +02:00
cf050de1d6 Move to Makefile 2022-10-24 12:54:51 +02:00
757d641580 Remove unused CUDA code 2022-10-21 14:22:57 +02:00
6ebbfda127 Update matrix_multiplication.cu 2022-10-19 13:05:59 +02:00
0f5867ebb6 Remove parallel 2022-10-19 13:04:57 +02:00
a9e704a7bc Update matrix_multiplication 2022-10-14 19:56:39 +02:00
9c560ef534 Add matrix_multiplication test 2022-10-14 18:17:29 +02:00
31e11f8d90 Add check_cuda_compatibility() 2022-10-14 17:54:12 +02:00
4839872c9b Fix bad use of cudaMemcpy 2022-10-14 16:30:28 +02:00
augustin64
bc5f491f1f
Merge branch 'julienChemillier:main' into main 2022-10-14 15:46:21 +02:00
afe4c982e7 Add matrix_multiplication.cu 2022-10-14 15:45:47 +02:00
Julien Chemillier
e618989632 Modification in the structure 2022-10-08 14:13:02 +02:00
Julien Chemillier
638cada723 Add mean squared error (MSE) 2022-10-07 15:32:54 +02:00
e4ec06705b Update train.c 2022-10-07 14:26:36 +02:00
7fff1652c5 Update neuron_io.c 2022-10-05 11:28:29 +02:00
b64561f64f Add copy_network 2022-10-05 11:20:26 +02:00
Julien Chemillier
60a4976dd6 Merge branch 'main' of https://github.com/julienChemillier/TIPE 2022-10-05 11:10:24 +02:00
Julien Chemillier
75709589c2 Add free_network 2022-10-05 11:10:13 +02:00
1f563f5f23 Minor changes 2022-10-04 12:43:37 +02:00
Julien Chemillier
a29e8a2c0f Simplification of the creation of Lenet5 2022-10-03 10:22:12 +02:00
Julien Chemillier
659463e4b7 Fix issue in lenet5 2022-10-03 10:06:31 +02:00
Julien Chemillier
a604c96476 Add learning rate 2022-10-03 10:04:11 +02:00
Julien Chemillier
9f44e4a189 Completion of the forward 2022-10-02 20:31:20 +02:00
Julien Chemillier
71e7aaac34 Fix a commentary issue 2022-10-02 16:17:05 +02:00
Julien Chemillier
8ea6062440 Leak repairs in free.c/h 2022-10-02 16:16:14 +02:00
dfe7fc7731 Add main.c & train.c 2022-10-01 17:53:14 +02:00
e3099106c7 Rename main.c -> cnn.c 2022-09-30 15:54:21 +02:00
Julien Chemillier
66022a948e Changes in forward 2022-09-30 15:50:29 +02:00
b7eda807fc Update mnist .h files 2022-09-30 15:44:28 +02:00
b12a03c1ba Rename mnist out files: out/* -> out/mnist_* 2022-09-29 22:21:33 +02:00
a478a454fd Add equals_networks(...) function 2022-09-28 12:42:44 +02:00
577954908c Add colors.h 2022-09-28 10:20:08 +02:00
Julien Chemillier
1d0bc02f7b Correction of a free issue 2022-09-28 10:14:20 +02:00
be8f1bb5cb Add debug statements 2022-09-26 18:00:31 +02:00
ad00b873b4 Update cnn/neuron_io 2022-09-25 11:52:36 +02:00
ffc61d3426 Update cnn/neuron_io 2022-09-23 16:03:53 +02:00
defb14f6cd Add nn io documentation 2022-09-23 14:27:13 +02:00
55db9985a5 Add cnn/neuron_io.c 2022-09-23 14:25:56 +02:00
Julien Chemillier
cbd7b5427d Changes in the structure of the cnn 2022-09-19 18:39:49 +02:00
Julien Chemillier
d236055a6d Creation of the folder 'include' 2022-09-16 14:53:35 +02:00
Julien Chemillier
93e1555136 Modification of struct.h 2022-09-16 14:36:50 +02:00
8b4b7b19f6 Rename src/mnist_cnn -> src/cnn 2022-09-12 17:56:44 +02:00
3643f4c50e Simplify code & typo 2022-09-10 18:23:16 +02:00
4720fb18e1 Change network->kernel definition 2022-09-10 17:17:49 +02:00
Julien Chemillier
e280d3e9da Update mnist_cnn: improve code readability 2022-09-09 17:39:07 +02:00
Julien Chemillier
19efa5f7d6 Seperation in files of cnn.c 2022-07-05 08:13:25 +02:00
789f740cce Add scripts 2022-07-02 10:57:19 +02:00
26a4d7a0f6 Add protocol option 2022-07-02 10:56:55 +02:00
3faff1e541 Add print-poids-neurone option 2022-07-02 10:56:06 +02:00
9df46ff801 Add print-images 2022-07-01 16:16:55 +02:00
Julien Chemillier
9a032a4933 Deletion of useless files 2022-06-30 10:31:56 +02:00