(fix) evaluation
trained with 50000 images evaluated with 10000
This commit is contained in:
parent
38fafa672c
commit
1cfdf93f7c
2 changed files with 9 additions and 9 deletions
|
|
@ -117,7 +117,8 @@ double measure_network_accuracy(Neural_Network* network, Image** images, int amo
|
|||
int num_correct = 0;
|
||||
|
||||
printf("evaluating network\n");
|
||||
for (int i = 50001; i < amount; i++) {
|
||||
if(amount > 10000) amount = 10000;
|
||||
for (int i = 0; i < amount; i++) {
|
||||
updateBar(i*100/amount);
|
||||
Matrix* prediction = predict_image(network, images[i]);
|
||||
|
||||
|
|
|
|||
Reference in a new issue