mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fix syntax of print to allow use with Python3
Update from `print r` to `print(r)` - this allows use with Python3
This commit is contained in:
parent
9a4b19c415
commit
729769c5d9
@ -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