-
Notifications
You must be signed in to change notification settings - Fork 583
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.6 compatibility #61
Comments
yes, you can train the models from scratch to avoid this issue. |
I found a way to make work on pytorch1.6 without retraining: ultralytics/yolov5@43a616a#diff-4f7ffd108bb4c62b490d3debfd3bc264. Do you want me to submit a PR? |
do i just need to add this line? m._non_persistent_buffers_set = set() # pytorch 1.6.0 compatability |
Yep! |
By the way, I see that the base of your implementation is from the ultralytic release version 2.0. You could probably move to their latest version 3.0. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just tried loading the yolov5 implementation and ran into this exact issue:
ultralytics/yolov5#561
Could the models be re-trained on pytorch1.6 to avoid this?
The text was updated successfully, but these errors were encountered: