mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed compile
This commit is contained in:
@ -372,6 +372,7 @@ void run_coco(int argc, char **argv)
|
||||
float hier_thresh = find_float_arg(argc, argv, "-hier", .5);
|
||||
int cam_index = find_int_arg(argc, argv, "-c", 0);
|
||||
int frame_skip = find_int_arg(argc, argv, "-s", 0);
|
||||
int ext_output = find_arg(argc, argv, "-ext_output");
|
||||
|
||||
if(argc < 4){
|
||||
fprintf(stderr, "usage: %s %s [train/test/valid] [cfg] [weights (optional)]\n", argv[0], argv[1]);
|
||||
@ -386,5 +387,5 @@ void run_coco(int argc, char **argv)
|
||||
else if(0==strcmp(argv[2], "valid")) validate_coco(cfg, weights);
|
||||
else if(0==strcmp(argv[2], "recall")) validate_coco_recall(cfg, weights);
|
||||
else if(0==strcmp(argv[2], "demo")) demo(cfg, weights, thresh, hier_thresh, cam_index, filename, coco_classes, 80, frame_skip,
|
||||
prefix, out_filename, http_stream_port, dont_show);
|
||||
prefix, out_filename, http_stream_port, dont_show, ext_output);
|
||||
}
|
||||
|
Reference in New Issue
Block a user