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:
stefancaspersz 2018-08-17 18:52:54 +10:00 committed by GitHub
parent 9a4b19c415
commit 729769c5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)