Commit Graph

324 Commits

Author SHA1 Message Date
julienChemillier
721d9597d4 Fix indices error 2023-01-15 17:51:23 +01:00
julienChemillier
3c611d5681 Fix size of network->kernel 2023-01-15 17:51:02 +01:00
771d69af20 Fix dataset memory leak 2023-01-14 15:28:02 +01:00
df48b92cf2 Fix various multithreading related issues 2023-01-14 15:02:57 +01:00
dd6fb046c7 Fix various memory leaks in mnist NN 2023-01-14 14:52:40 +01:00
48dcded57a Fix unauthorized read 2023-01-14 14:30:59 +01:00
b6aafbf0fd Fix various memory leaks 2023-01-14 14:30:34 +01:00
2ac811ca78 Add linearisation variable to neuron_io 2023-01-13 22:19:06 +01:00
b5c4384e42 Rename variable 2023-01-13 22:17:37 +01:00
df39c2c299 Add colors 2023-01-13 15:58:46 +01:00
f1c7246d77 Typo 2023-01-13 15:58:26 +01:00
03ad4b01e5 Use OpenMP instead of clock time
It was previously not accurate when using threads
2023-01-13 15:58:11 +01:00
julienChemillier
c914370103 Fix linearisation variable 2023-01-11 12:09:41 +01:00
9dfcba3551 Update benchmark tests 2023-01-04 11:00:51 +01:00
d0d68c7afd Update cuda benchmark 2023-01-04 10:52:39 +01:00
047a24ca9f Add convolution benchmark [CUDA] 2023-01-04 10:50:55 +01:00
7af686345a Update comments 2022-12-19 15:49:18 +01:00
c913bf3195 Update train.c 2022-12-19 15:49:03 +01:00
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
Julien Chemillier
38f850988b Update comments of neuron.h 2022-06-30 10:27:42 +02:00
Julien Chemillier
a352c02a07 Update comments of preview 2022-06-30 10:27:09 +02:00
Julien Chemillier
4afe376353 Update comments of neuron_io 2022-06-30 10:26:17 +02:00
Julien Chemillier
b6057fe97d Update comments of neural_network 2022-06-30 10:25:04 +02:00
1f655fecc5 Update cuda_utils.cu 2022-06-27 10:59:29 +02:00
458135effc Fix preview 2022-06-23 22:55:01 +02:00
28cc512737 Add <stdbool.h> 2022-06-23 22:54:49 +02:00
828d7b83cc Add comments in headers files 2022-06-03 15:47:02 +02:00
3b99d3c4d1 Fix headers 2022-06-01 21:31:32 +02:00
c39e9bab4f Update main.c 2022-06-01 17:14:41 +02:00
bea5eafab7 Add copy_network_cuda 2022-06-01 17:14:16 +02:00
f27d7542f8 Add cuda_utils 2022-06-01 17:13:45 +02:00
0c49729e0e Add free 2022-05-23 17:27:38 +02:00
7a0182b5a9 Add CLI arguments 2022-05-23 16:54:04 +02:00
f904482199 Add test lock 2022-05-23 16:44:54 +02:00
4940807da3 Fix parallel 2022-05-23 11:48:02 +02:00
ed47283f5a Add exit(0) 2022-05-21 19:00:13 +02:00
45db00824c Change cache path 2022-05-21 18:51:44 +02:00
7c5c671045 Fix subprocess call to make.sh 2022-05-21 18:14:23 +02:00
3446200c63 Update parallel 2022-05-21 18:12:21 +02:00
553cf4d0be Update src/parallel 2022-05-21 18:09:01 +02:00
511a522a34 Add utils/patch-network 2022-05-21 18:06:39 +02:00
986707af2b Update neuron_io 2022-05-21 15:11:36 +02:00
45c39d8880 Add arguments 2022-05-20 19:40:12 +02:00
62b14f8b07 Add neuron_io/delta_network 2022-05-20 19:39:47 +02:00
5beaad3e54 Add delta_network 2022-05-19 22:26:19 +02:00
db06dd4f73 Add parallel 2022-05-18 21:46:05 +02:00
dd0113e128 Update tests 2022-05-16 17:26:04 +02:00
727ce5f705 Remove scroll to refresh 2022-05-14 18:42:26 +02:00
890db11772 Add partial mobile support 2022-05-14 18:19:00 +02:00
dfb33147f3 Add free(neuron->last_back_weights); 2022-05-14 14:46:48 +02:00
d40212d313 Add multithreading support 2022-05-14 10:35:03 +02:00