mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Closes #2525
This commit is contained in:
parent
a028bfa0da
commit
82dbabd53a
@ -151,6 +151,6 @@ if __name__ == "__main__":
|
|||||||
net = load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0)
|
net = load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0)
|
||||||
meta = load_meta("cfg/coco.data")
|
meta = load_meta("cfg/coco.data")
|
||||||
r = detect(net, meta, "data/dog.jpg")
|
r = detect(net, meta, "data/dog.jpg")
|
||||||
print r
|
print(r)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user