Fixed batch stuff in conv layer

This commit is contained in:
Joseph Redmon
2014-07-17 10:14:59 -07:00
parent 1b94df24fd
commit 076009ebe3
6 changed files with 83 additions and 44 deletions

View File

@ -274,7 +274,7 @@ float calculate_error_network(network net, float *truth)
//printf("%5.2f %5.2f, ", out[i], truth[i]);
//if(i == get_network_output_size(net)) printf("\n");
delta[i] = truth[i] - out[i];
//printf("%f, ", delta[i]);
//printf("%.10f, ", out[i]);
sum += delta[i]*delta[i];
}
//printf("\n");