Commit Graph

615 Commits

Author SHA1 Message Date
0aa7df2869 Check if file is successfully opened 2023-05-18 19:38:56 +02:00
2743fcda14 cnn: Fix floating point exception ( rand()%0 ) 2023-05-18 18:09:01 +02:00
dbd5362d7d utils:cuda: Select best available GPU 2023-05-16 13:21:26 +02:00
e1617a72a8 cnn: Remove warnings 2023-05-16 11:49:46 +02:00
4625ad2992 mem management: remove warning 2023-05-15 18:25:48 +02:00
9db15e96ac Update headers and Makefile to reflect 4910137 2023-05-15 18:25:29 +02:00
491013713d Split creation.c & create models.c 2023-05-15 18:23:30 +02:00
13e786d34b cnn/neuron_io: track compatibility 2023-05-15 15:51:12 +02:00
0fb23c9b15 cnn/make:dense_linearized: fix wrong indices 2023-05-15 12:51:00 +02:00
3d7b641965 backpropagation:conv: fix misaligned address 2023-05-15 12:50:11 +02:00
37ba3a5976 cnn/convolution: fix misaligned address issue 2023-05-15 11:55:50 +02:00
2f333bfc1d config.h: reduce default CUDA blocksize 2023-05-15 11:36:18 +02:00
07369c3905 free: Add comment 2023-05-15 11:35:24 +02:00
e587261e4d test/cnn_convolution: update to newer function 2023-05-15 11:34:58 +02:00
329e213e1f write image: automatically detect padding 2023-05-15 11:34:23 +02:00
06abf0bc6b train.c: pick architecture based on dataset type 2023-05-15 10:45:14 +02:00
19005366d3 mem management: add faster way to free all memory 2023-05-15 10:44:09 +02:00
4cffcc1c95 mem management: Add optional tail optimisation
VGG16: memory usage increases of ~1%,
but initialisation time (for CUDA) goes from 1h down to 2.4s
2023-05-15 10:07:00 +02:00
julienChemillier
003183d3fd Add VGG16 architecture 2023-05-14 19:00:40 +02:00
julienChemillier
de48f11e78 Fix a mistake i just did 2023-05-14 18:52:28 +02:00
julienChemillier
19757b1c0d Fix some mistakes 2023-05-14 18:50:52 +02:00
julienChemillier
8de03863fa Removal of useless lines 2023-05-14 18:22:29 +02:00
772b3511cf common/utils: change function return type (int -> bool) 2023-05-14 18:15:28 +02:00
a7df405d08 Fixes for cuda compilation following 3b9ad3d 2023-05-14 18:12:52 +02:00
julienChemillier
f60fe9ca69 Modification of 'cnn_structure.c' 2023-05-14 17:58:50 +02:00
julienChemillier
de79f98ad5 Add AlexNet architecture 2023-05-14 17:40:50 +02:00
julienChemillier
3b9ad3db4d Merge of function in 'src/common/include/utils.h' 2023-05-14 15:56:58 +02:00
julienChemillier
46333299bd Add stride, padding to the backprop of convolution 2023-05-14 15:21:07 +02:00
julienChemillier
e186839ec6 Forgot to push 'backpropagation.cu' in db9eff9 2023-05-14 15:19:10 +02:00
julienChemillier
815a87ee1e Change in comment of 'struct.h' 2023-05-14 14:09:40 +02:00
julienChemillier
db9eff9087 Add stride and padding to the backward poolings 2023-05-14 13:08:52 +02:00
321994df2b Fix cuda compilation 2023-05-13 22:42:13 +02:00
julienChemillier
c0808b9240 Change notation toward a consensus 2023-05-13 17:22:47 +02:00
julienChemillier
521a1bb729 Add definition of 'convolution_not_outside' 2023-05-13 15:50:01 +02:00
julienChemillier
3dd2e33fa9 Fix issues with the network not converging 2023-05-13 15:39:22 +02:00
julienChemillier
f316882eeb Add 'stride' and 'padding' to the forward 2023-05-13 13:37:46 +02:00
julienChemillier
a68805894f Change in comments of 'free.c' and 'free.h' 2023-05-13 11:17:32 +02:00
julienChemillier
7d3a7c1aff Change a variable to a more explicit one 2023-05-13 10:41:24 +02:00
julienChemillier
fa169e3a37 Removal of useless comments 2023-05-13 10:36:27 +02:00
julienChemillier
0a63988d3c Removal of useless comments 2023-05-13 10:30:29 +02:00
julienChemillier
2790883586 Removal of warnings 2023-05-13 10:05:54 +02:00
47a475a370 Removed extra memory allocation 2023-05-12 16:26:26 +02:00
49a2299c1c Revert fd36226 for cnn/creation.c 2023-05-12 16:21:14 +02:00
3ac318dd2c Update .gitignore 2023-05-12 16:19:10 +02:00
9474734a8f Update jpeg test 2023-05-12 16:18:03 +02:00
693dee581e Move 'min' and 'max' definition to commons/utils 2023-05-12 16:17:47 +02:00
fd36226600 Move generic files to src/common 2023-05-12 16:16:34 +02:00
e44cecbe8d Add jpeg support to export.c 2023-05-12 14:50:22 +02:00
3672d07dff Update Makefile 2023-05-08 18:58:33 +02:00
7c2c911976 cnn/export.c: Ajout de visual-propagation
Cette option permet de visualiser l'état des différentes couches
après propagation sur une image donnée
(fonctionne uniquement sur des datasets MNIST pour le moment)
2023-05-08 18:53:04 +02:00