From 08c7cf9c88befd845f00c00d85e40a9eead4b1b3 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 19 Jun 2016 21:28:15 +0000
Subject: [PATCH] no mean on input binarization

---
 src/coco.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/coco.c b/src/coco.c
index b532d62..947bef2 100644
--- a/src/coco.c
+++ b/src/coco.c
@@ -20,7 +20,8 @@
 void train_coco(char *cfgfile, char *weightfile)
 {
     //char *train_images = "/home/pjreddie/data/voc/test/train.txt";
-    char *train_images = "/home/pjreddie/data/coco/train.txt";
+    //char *train_images = "/home/pjreddie/data/coco/train.txt";
+    char *train_images = "data/coco.trainval.txt";
     char *backup_directory = "/home/pjreddie/backup/";
     srand(time(0));
     data_seed = time(0);
@@ -388,10 +389,10 @@
 void demo_coco(char *cfgfile, char *weightfile, float thresh, int cam_index, char *filename);
 static void demo(char *cfgfile, char *weightfile, float thresh, int cam_index, char* filename)
 {
-    #if defined(OPENCV) && defined(GPU)
+    #if defined(OPENCV)
         demo_coco(cfgfile, weightfile, thresh, cam_index, filename);
     #else
-        fprintf(stderr, "Need to compile with GPU and OpenCV for demo.\n");
+        fprintf(stderr, "Need to compile with OpenCV for demo.\n");
     #endif
 }
 

--
Gitblit v1.10.0