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

'Upsample' object has no attribute 'recompute_scale_factor' #55

Closed
nikhilchh opened this issue Apr 20, 2022 · 1 comment
Closed

'Upsample' object has no attribute 'recompute_scale_factor' #55

nikhilchh opened this issue Apr 20, 2022 · 1 comment

Comments

@nikhilchh
Copy link

nikhilchh commented Apr 20, 2022

I got an error when i used latest pytorch 1.11.0.
The error : "Upsample' object has no attribute 'recompute_scale_factor"

Yolo repo managers also modified their code to fix the same.
ultralytics/yolov5#6932

Does it also make sense for Kapao repo ?

@wmcnally
Copy link
Owner

Yes errors might occur using newer versions of torch. That's why the requirements file has torch==1.9.1

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