roboflow / zero-shot-object-tracking

Object tracking implemented with the Roboflow Inference API, DeepSort, and OpenAI CLIP.
https://blog.roboflow.com/zero-shot-object-tracking/
GNU General Public License v3.0
357 stars 62 forks source link

KeyError: 'predictions' issue within predict_image #13

Closed ogjaylowe closed 2 years ago

ogjaylowe commented 2 years ago

When I followed the default steps on the repo I run into a KeyError: 'predictions' issue within predict_image when running the following ###Run with Roboflow command:

python clip_object_tracker.py --source data/video/fish.mp4 --url https://detect.roboflow.com/playing-cards-ow27d/1 --api_key ROBOFLOW_API_KEY --info

Something that might be related, I run python3 so that the python f string format compiles without a syntax error but the docs use vanilla python.

The following ### Run with Yolov5 command works great:

python clip_object_tracker.py --weights models/yolov5s.pt --source data/video/fish.mp4 --detection-engine yolov5 --info

The google colab notebook also works perfectly on first time 👍