From c2c8595b083ec3586a99bb913b8a986e81e3a42a Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 19 Apr 2018 11:47:39 +0000
Subject: [PATCH] Fixed detection and validate(recall, map) for .png and .bmp images.

---
 darknet.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/darknet.py b/darknet.py
index 7d7dc69..1943dec 100644
--- a/darknet.py
+++ b/darknet.py
@@ -151,7 +151,7 @@
     #r = classify(net, meta, im)
     #print r[:10]
     net = load_net("cfg/yolov3.cfg", "yolov3.weights", 0)
-    meta = load_meta("data/coco.data")
+    meta = load_meta("cfg/coco.data")
     r = detect(net, meta, "data/dog.jpg", 0.25)
     print r
     

--
Gitblit v1.10.0