From ec766fc3f114dd4faaa3add500776a7bae957ba5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 29 May 2018 11:35:32 +0000
Subject: [PATCH] Ignore empty extra lines in train.txt

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

diff --git a/src/detector.c b/src/detector.c
index 536b9d7..6fc6b67 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -189,7 +189,7 @@
         avg_loss = avg_loss*.9 + loss*.1;
 
         i = get_current_batch(net);
-        printf("\n %d: %f, %f avg, %f rate, %lf seconds, %d images\n", get_current_batch(net), loss, avg_loss, get_current_rate(net), (what_time_is_it_now()-time), i*imgs);
+        printf("\n %d: %f, %f avg loss, %f rate, %lf seconds, %d images\n", get_current_batch(net), loss, avg_loss, get_current_rate(net), (what_time_is_it_now()-time), i*imgs);
 
 #ifdef OPENCV
 		if(!dont_show)

--
Gitblit v1.10.0