From 729769c5d9d860b758db15668a9cc43627b9f47f Mon Sep 17 00:00:00 2001 From: stefancaspersz Date: Fri, 17 Aug 2018 18:52:54 +1000 Subject: [PATCH] Fix syntax of print to allow use with Python3 Update from `print r` to `print(r)` - this allows use with Python3 --- python/darknet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/darknet.py b/python/darknet.py index 88d84cdb..b14d2448 100644 --- a/python/darknet.py +++ b/python/darknet.py @@ -151,6 +151,6 @@ if __name__ == "__main__": net = load_net("cfg/tiny-yolo.cfg", "tiny-yolo.weights", 0) meta = load_meta("cfg/coco.data") r = detect(net, meta, "data/dog.jpg") - print r + print(r)