From a360f694093f7748e3232f4ed74d40446d735fc3 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 01 Mar 2017 12:29:50 +0000
Subject: [PATCH] Readme.md - When should I stop training

---
 src/detector.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/detector.c b/src/detector.c
index 31c44c0..7535df8 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -78,7 +78,7 @@
     int count = 0;
     //while(i*imgs < N*120){
     while(get_current_batch(net) < net.max_batches){
-        if(l.random && count++%10 == 0){
+		if(l.random && count++%10 == 0){
             printf("Resizing\n");
             int dim = (rand() % 10 + 10) * 32;
             if (get_current_batch(net)+100 > net.max_batches) dim = 544;
@@ -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