SEE I TOTALLY LISTEN TO MY COMMUNITY SOMETIMES I'M LOOKING AT YOU ISSUE \#291

This commit is contained in:
Joseph Redmon
2017-11-07 16:22:09 -08:00
parent 1a63695c44
commit 16686cec57
3 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ sys.path.append(os.path.join(os.getcwd(),'python/'))
import darknet as dn
dn.set_gpu(0)
net = dn.load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0)
meta = dn.load_meta("cfg/coco.data")
r = dn.detect(net, meta, "data/dog.jpg")