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

PyTorch 1.11.0 compatibility updates (see yolov5) #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martinbaerwolff
Copy link

Hi, we ran into an AttributeError running inference with detect.py due to a change of the PyTorch API in version 1.11 (no more "recompute_scale_factor"). So we added this fix according to the official yolov5 "PyTorch 1.11.0 compatibility update".

@martinbaerwolff
Copy link
Author

martinbaerwolff commented Jul 26, 2022

Of course you could also update the whole ultralytics yolov5 code you use. Or maybe you could think about linking the ultralytics yolov5 repo dynamically :)

mgd722 added a commit to geodav-tech/tph-yolov5 that referenced this pull request Dec 19, 2022
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

Successfully merging this pull request may close these issues.

1 participant