mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 07:36:24 +01:00
Fix 'nan' issue
This commit is contained in:
parent
65505858da
commit
c73d4d5b90
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user