Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torch 1.11.0 compatibility updates #333

Closed
MattGrouchy opened this issue Mar 17, 2022 · 2 comments
Closed

Torch 1.11.0 compatibility updates #333

MattGrouchy opened this issue Mar 17, 2022 · 2 comments

Comments

@MattGrouchy
Copy link

MattGrouchy commented Mar 17, 2022

When cloning the repo and installing the requirements, torch 1.11.0 is downloaded. This causes an error to be thrown when running track.py -> detect().

$ python track.py --source 0


..... bunch of error logs

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

This problem is mentioned in yolov5 here

An update to the yolov5 sub-module should fix these problems.

Changing the requirements.txt as below will fix for now

torch<=1.10.0
@MattGrouchy MattGrouchy changed the title torch 1.11.0 compatibility updates Torch 1.11.0 compatibility updates Mar 17, 2022
@mikel-brostrom
Copy link
Owner

mikel-brostrom commented Mar 18, 2022

Thx for letting me know! Yolov5 updated!

@MattGrouchy
Copy link
Author

Thank you @mikel-brostrom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants