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

AttributeError: Can't get attribute 'SPPF' #12

Closed
xudh1991 opened this issue Jul 4, 2022 · 2 comments
Closed

AttributeError: Can't get attribute 'SPPF' #12

xudh1991 opened this issue Jul 4, 2022 · 2 comments

Comments

@xudh1991
Copy link

xudh1991 commented Jul 4, 2022

I successfully installed and configured the environment according to the instructions on GitHub, and then reported an error after running
“AttributeError: Can't get attribute 'SPPF' on <module 'models.common'”,
I refer to the link below to try to solve this problem
https://blog.csdn.net/cjy_colorful0806/article/details/120930204

But when encountering an error
“AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘”
I refer to the link below to try to solve this problem
https://blog.csdn.net/qq_35207086/article/details/123879980

But when encountering an error
“RuntimeError: shape '[1, 3, 1, 1, 2]' is invalid for input of size 28224”

I have tried several models such as: yolov5l.pt、yolov5l6.pt、yolov5s.pt、yolov5x6.pt. How can I run this project??

@xudh1991 xudh1991 closed this as completed Jul 4, 2022
@xudh1991
Copy link
Author

xudh1991 commented Jul 5, 2022

微信截图_20220704155519

@cnyvfang
Copy link
Owner

cnyvfang commented Oct 11, 2022 via email

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