mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed for Linux: detection for batch > 1 and 0x0d at command line
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user