diff --git a/src/mnist/utils.c b/src/mnist/utils.c index dcc649a..5e7cf79 100644 --- a/src/mnist/utils.c +++ b/src/mnist/utils.c @@ -9,7 +9,7 @@ void print_biais(char* filename) { Reseau* reseau = lire_reseau(".cache/reseau.bin"); - for (int i=0; i < reseau->nb_couches; i++) { + for (int i=1; i < reseau->nb_couches -1; i++) { printf("Couche %d\n", i); for (int j=0; j < reseau->couches[i]->nb_neurones; j++) { printf("Couche %d\tNeurone %d\tBiais: %0.1f\n", i, j, reseau->couches[i]->neurones[j]->biais); @@ -17,7 +17,7 @@ void print_biais(char* filename) { } } -int main(int argc, int* argv) { +int main(int argc, char* argv[]) { print_biais(".cache/reseau.bin"); return 1; } \ No newline at end of file