theAIGuysCode / yolov3_deepsort

Object tracking implemented with YOLOv3, Deep Sort and Tensorflow.
GNU General Public License v3.0
337 stars 183 forks source link

Error executing object_tracker.py #21

Open diegobonilla98 opened 4 years ago

diegobonilla98 commented 4 years ago

I get this error after following the steps. I did not manipulate the code and/or use custom YOLO. If anyone knows how to fix this... I'm using Python3.7, Windows 10 and the CPU

Annotation 2020-06-27 114749

MAHMOUDABDELHAMID commented 4 years ago

change line 96 boxes, scores, classes, nums = yolo.predict(img_in) to boxes, scores, classes, nums = yolo.predict(img_in,steps=1)

raushankumar586 commented 4 years ago

Thanks MAHMOUDABDELHAMID it worked for me.