From 68213b835b9f15cb449ad2037a8b51c17a3de07b Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 14 Mar 2016 22:10:14 +0000
Subject: [PATCH] Makefile
---
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