Commit Graph

538 Commits

Author SHA1 Message Date
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
julienChemillier
af288166d6 Ajout stride dans average_ pooling et max_pooling 2023-05-08 11:32:58 +02:00
julienChemillier
6e022fbd44 Ajout de 'stride' dans 'make_convolution' 2023-05-08 11:11:55 +02:00
c23a126faa Add links back to COMPTE_RENDU.md 2023-04-28 17:29:44 +02:00
2e183f47e8 Remove unnecessary links from COMPTE_RENDU.md 2023-04-28 17:11:29 +02:00
990ce3a622 Update COMPTE_RENDU.md 2023-04-28 12:31:59 +02:00
a8df039e21 Update README.md 2023-04-22 09:39:09 +02:00
c4cf2c90a0 Update README.md 2023-04-15 21:19:20 +02:00
6e1854502d Update README.md 2023-04-15 21:15:39 +02:00
3198e6f2d0 Load image from a separate thread 2023-04-02 17:34:31 +02:00
710306a286 Remove duplicated functions 2023-03-31 15:16:53 +02:00
d6d03162b2 Update test/cnn_function.cu 2023-03-31 15:06:10 +02:00
05315a3567
Merge pull request #2 from augustin64/cuda-backpropagation 2023-03-31 14:22:46 +02:00
a3a803ba40 Fix previous compilation errors 2023-03-31 14:17:41 +02:00
7511856621 Translate backward convolution to CUDA
Not working yet, CUDA kernels in `backpropagation.cu` don't have access to activation functions declared in `function.cu` using `get_activation_function_cuda`.

Temporary workaround: copy `backpropagation.cu` parts that don't work to `function.cu` (all the parts using function pointers in kernels
2023-03-30 18:16:41 +02:00
5088c415d6 Add comments to config.h 2023-03-30 18:11:19 +02:00
dd16e34cce extern "C" get_activation_function_cuda 2023-03-30 18:11:00 +02:00
953c92ac61 Check for errors 2023-03-30 18:08:31 +02:00
2ee1bc4079 Add reset_3d_array function 2023-03-30 18:08:13 +02:00
eeff720ae4 Add CUDA blocksize to config.h 2023-03-28 12:54:49 +02:00
2d6b4fe011 Implement copy_3d_array in CUDA 2023-03-28 12:38:06 +02:00
57954a27c0 Update tests 2023-03-27 18:30:19 +02:00
julienChemillier
5f684d9f91 Implementation of Adam Optimizer 2023-03-27 18:17:50 +02:00
677de892e7 Add function.cu
Translate `apply_function_input` and `get_activation_function` to CUDA
2023-03-26 17:14:07 +02:00
e4003aea28 Add config.h 2023-03-24 15:21:57 +01:00
7da6541937 Rename BOUND_RELU to RELU_CLIP_VALUE 2023-03-24 15:12:31 +01:00
b893f11da0 Add random offset to mnist images during learning 2023-03-22 13:03:19 +01:00
julienChemillier
1bd92074ab Back to multiple bias implementation 2023-03-18 13:25:58 +01:00