From 8b9af80a5b3bdb6ec17c4fa2cfa14ce4676ef1c3 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Fri, 18 May 2018 20:27:59 +0000
Subject: [PATCH] Merge pull request #851 from NadeenUdantha/patch-1
---
src/yolo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/yolo.c b/src/yolo.c
index 238454e..4481165 100644
--- a/src/yolo.c
+++ b/src/yolo.c
@@ -256,6 +256,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