mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Added -mjpeg_port 8090 for Training. Loss-chart saved to chart.png even when used -dont_show.
mAP is calculated during training even without OpenCV.
This commit is contained in:
@ -365,7 +365,7 @@ void test_coco(char *cfgfile, char *weightfile, char *filename, float thresh)
|
||||
void run_coco(int argc, char **argv)
|
||||
{
|
||||
int dont_show = find_arg(argc, argv, "-dont_show");
|
||||
int http_stream_port = find_int_arg(argc, argv, "-http_port", -1);
|
||||
int mjpeg_port = find_int_arg(argc, argv, "-mjpeg_port", -1);
|
||||
int json_port = find_int_arg(argc, argv, "-json_port", -1);
|
||||
char *out_filename = find_char_arg(argc, argv, "-out_filename", 0);
|
||||
char *prefix = find_char_arg(argc, argv, "-prefix", 0);
|
||||
@ -388,5 +388,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, json_port, dont_show, ext_output);
|
||||
prefix, out_filename, mjpeg_port, json_port, dont_show, ext_output);
|
||||
}
|
||||
|
Reference in New Issue
Block a user