mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Minor fix
This commit is contained in:
@ -1096,7 +1096,7 @@ void test_detector(char *datacfg, char *cfgfile, char *weightfile, char *filenam
|
|||||||
fuse_conv_batchnorm(net);
|
fuse_conv_batchnorm(net);
|
||||||
if (net.layers[net.n - 1].classes != names_size) {
|
if (net.layers[net.n - 1].classes != names_size) {
|
||||||
printf(" Error: in the file %s number of names %d that isn't equal to classes=%d in the file %s \n",
|
printf(" Error: in the file %s number of names %d that isn't equal to classes=%d in the file %s \n",
|
||||||
name_list, names_size, net.layers[net.n - 1].classes, datacfg);
|
name_list, names_size, net.layers[net.n - 1].classes, cfgfile);
|
||||||
if(net.layers[net.n - 1].classes > names_size) getchar();
|
if(net.layers[net.n - 1].classes > names_size) getchar();
|
||||||
}
|
}
|
||||||
srand(2222222);
|
srand(2222222);
|
||||||
|
Reference in New Issue
Block a user