Skip to content

_pickle.UnpicklingError: invalid load key, '<'. #307

@aamirali13

Description

@aamirali13

Search before asking

  • I have searched the Roboflow Notebooks issues and found no similar bug report.

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?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions