From d7a30ada7e82daf7ce5ca91acac15c1723188fc5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 16 Jan 2017 09:51:42 +0000
Subject: [PATCH] Fixed behavior if missing library cudnn.lib

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

diff --git a/src/detector.c b/src/detector.c
index a389407..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;

--
Gitblit v1.10.0