From efdeb01a3a7994fc2bfbbcd98682f4c356dc229e Mon Sep 17 00:00:00 2001
From: Vinjn Zhang <vinjn@users.noreply.github.com>
Date: Sun, 20 May 2018 05:57:21 +0000
Subject: [PATCH] darknet.py - remove unnecessary check of CUDA_HOME

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

diff --git a/src/coco.c b/src/coco.c
index c95e30d..b8fc346 100644
--- a/src/coco.c
+++ b/src/coco.c
@@ -285,6 +285,7 @@
         find_replace(labelpath, "JPEGImages", "labels", labelpath);
         find_replace(labelpath, ".jpg", ".txt", labelpath);
         find_replace(labelpath, ".JPEG", ".txt", labelpath);
+		find_replace(labelpath, ".ppm", ".txt", labelpath);
 
         int num_labels = 0;
         box_label *truth = read_boxes(labelpath, &num_labels);

--
Gitblit v1.10.0