From 9db618329a1a4786ead73fab29d46dbb7fb58430 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 20 Jul 2015 21:56:53 +0000
Subject: [PATCH] changes to detection

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

diff --git a/src/data.c b/src/data.c
index f6df50f..982ef21 100644
--- a/src/data.c
+++ b/src/data.c
@@ -140,7 +140,7 @@
 
 void fill_truth_detection(char *path, float *truth, int classes, int num_boxes, int flip, int background, float dx, float dy, float sx, float sy)
 {
-    char *labelpath = find_replace(path, "detection_images", "labels");
+    char *labelpath = find_replace(path, "JPEGImages", "labels");
     labelpath = find_replace(labelpath, ".jpg", ".txt");
     labelpath = find_replace(labelpath, ".JPEG", ".txt");
     int count = 0;

--
Gitblit v1.10.0