Fixed for Linux: detection for batch > 1 and 0x0d at command line

This commit is contained in:
AlexeyAB
2017-10-29 18:34:55 +03:00
parent b714004546
commit 84cdbaa1f1
4 changed files with 13 additions and 2 deletions

View File

@ -125,7 +125,7 @@ void demo(char *cfgfile, char *weightfile, float thresh, int cam_index, const ch
demo_classes = classes;
demo_thresh = thresh;
printf("Demo\n");
net = parse_network_cfg(cfgfile);
net = parse_network_cfg_custom(cfgfile, 1);
if(weightfile){
load_weights(&net, weightfile);
}