mirror of
https://github.com/augustin64/projet-tipe
synced 2025-02-02 19:39:39 +01:00
cnn/train: add newline & change initialisation
This commit is contained in:
parent
5738892142
commit
08993ade85
@ -234,10 +234,10 @@ void train(int dataset_type, char* images_file, char* labels_file, char* data_di
|
||||
network = create_network_lenet5(LEARNING_RATE, 0, LEAKY_RELU, HE, input_width, input_depth);
|
||||
//network = create_simple_one(LEARNING_RATE, 0, RELU, GLOROT, input_width, input_depth);
|
||||
} else {
|
||||
network = create_network_VGG16(LEARNING_RATE, 0, RELU, NORMALIZED_XAVIER, dataset->numCategories);
|
||||
network = create_network_VGG16(LEARNING_RATE, 0, RELU, HE, dataset->numCategories);
|
||||
|
||||
#ifdef USE_MULTITHREADING
|
||||
printf_warning("Utilisation de VGG16 avec multithreading. La quantité de RAM utilisée peut devenir excessive");
|
||||
printf_warning("Utilisation de VGG16 avec multithreading. La quantité de RAM utilisée peut devenir excessive\n");
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user