From 92b25a72006a77073ee99dc69557ce0cde01cc3c Mon Sep 17 00:00:00 2001
From: iovodov <b@ovdv.ru>
Date: Thu, 03 May 2018 09:43:48 +0000
Subject: [PATCH] FIX #736: Detector does not draw rects for images with small resolutions
---
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