From 2710d632571a0083f6b8aa57a3c822b57a9f4866 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 27 Nov 2016 05:21:04 +0000
Subject: [PATCH] cheating a little here
---
src/detector.c | 2 +-
src/darknet.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/darknet.c b/src/darknet.c
index 776778a..627b6db 100644
--- a/src/darknet.c
+++ b/src/darknet.c
@@ -381,7 +381,7 @@
} else if (0 == strcmp(argv[1], "detector")){
run_detector(argc, argv);
} else if (0 == strcmp(argv[1], "detect")){
- float thresh = find_float_arg(argc, argv, "-thresh", .25);
+ float thresh = find_float_arg(argc, argv, "-thresh", .24);
char *filename = (argc > 4) ? argv[4]: 0;
test_detector("cfg/coco.data", argv[2], argv[3], filename, thresh);
} else if (0 == strcmp(argv[1], "cifar")){
diff --git a/src/detector.c b/src/detector.c
index 31c44c0..a389407 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -497,7 +497,7 @@
void run_detector(int argc, char **argv)
{
char *prefix = find_char_arg(argc, argv, "-prefix", 0);
- float thresh = find_float_arg(argc, argv, "-thresh", .25);
+ float thresh = find_float_arg(argc, argv, "-thresh", .24);
int cam_index = find_int_arg(argc, argv, "-c", 0);
int frame_skip = find_int_arg(argc, argv, "-s", 0);
if(argc < 4){
--
Gitblit v1.10.0