Commit Graph

222 Commits

Author SHA1 Message Date
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
13c59de4ec Add casts 2022-05-14 10:34:26 +02:00
ce947fe91d Add copy_network and patch_network 2022-05-14 10:28:40 +02:00