You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to run the notebook by using my own weights but getting the mentioned error throughout. It's not working for even the weights which are shared with link.
The notebook you mentioned uses Yolov8, whereas the code you pasted mentions yolov5. These two models are incompatible - maybe that's related to your issue?
Hi @aamirali13, unfortunately, figuring out the issue is taking more time than I have to spare.
Instead, I'd like to offer an alternative. Instead of this 2-year-old notebook, here's a recent project by my colleague, digging very deep into the problem of tracking in football. Unlike this notebook, it uses recent models and supervision features.
While there's a little bit more info to pick through, I bet you'll find it both more performant and easier to use (that's what we've been working towards!).
Search before asking
Notebook name
Track and Count Vehicles with YOLOv8 + ByteTRACK + Supervision
Bug
I was trying to run the notebook by using my own weights but getting the mentioned error throughout. It's not working for even the weights which are shared with link.
Environment
Google colab
Minimal Reproducible Example
!python detect.py --weights content/best.pt --img 1280 --conf 0.25 --source content/08fd33_4.mp4 --name custom
or
model = torch.hub.load('ultralytics/yolov5', 'custom', WEIGHTS_PATH, device=0,force_reload=True)
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: