From f81b9209ff4d5f665bdf7eafa36985aff0a9de76 Mon Sep 17 00:00:00 2001 From: Vincent Liao Date: Wed, 24 Oct 2018 12:47:19 +0700 Subject: [PATCH] fix wrong path --- darknet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darknet.py b/darknet.py index 4bca5f5a..84bbfc42 100644 --- a/darknet.py +++ b/darknet.py @@ -278,7 +278,7 @@ netMain = None metaMain = None altNames = None -def performDetect(imagePath="data/dog.jpg", thresh= 0.25, configPath = "./cfg/yolov3.cfg", weightPath = "yolov3.weights", metaPath= "./data/coco.data", showImage= True, makeImageOnly = False, initOnly= False): +def performDetect(imagePath="data/dog.jpg", thresh= 0.25, configPath = "./cfg/yolov3.cfg", weightPath = "yolov3.weights", metaPath= "./cfg/coco.data", showImage= True, makeImageOnly = False, initOnly= False): """ Convenience function to handle the detection and returns of objects.