From c73d4d5b90fe1dced3779ffac295cd05aed72b95 Mon Sep 17 00:00:00 2001 From: julienChemillier Date: Tue, 15 Nov 2022 12:47:33 +0100 Subject: [PATCH] Fix 'nan' issue --- src/cnn/cnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cnn/cnn.c b/src/cnn/cnn.c index 8ee3782..42e06b7 100644 --- a/src/cnn/cnn.c +++ b/src/cnn/cnn.c @@ -82,7 +82,7 @@ void forward_propagation(Network* network) { printf("Le réseau ne peut pas finir par une pooling layer\n"); return; } else { // Pooling sur une matrice - make_average_pooling(input, output, activation/100, output_depth, output_width); + make_average_pooling(input, output, activation, output_depth, output_width); } copy_input_to_input_z(output, output_a, output_depth, output_width, output_width); }