From b831db5e58ad37c8f4adf39de7fb5db204209a1c Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 10 Jan 2017 16:49:38 +0000
Subject: [PATCH] fixed bug: rand() for batches of images

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

diff --git a/src/classifier.c b/src/classifier.c
index 586530a..fbfe5e7 100644
--- a/src/classifier.c
+++ b/src/classifier.c
@@ -6,7 +6,10 @@
 #include "assert.h"
 #include "classifier.h"
 #include "cuda.h"
-#include <sys/time.h>
+//#include <sys/time.h>
+#include <time.h>
+#include <winsock.h>
+#include "gettimeofday.h"
 
 #ifdef OPENCV
 #include "opencv2/highgui/highgui_c.h"

--
Gitblit v1.10.0