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

加载yolov8预训练模型,做训练,权重网络不匹配 #344

Open
Salary-only-17k opened this issue Aug 23, 2024 · 2 comments
Open

Comments

@Salary-only-17k
Copy link

RuntimeError: For 'load_param_into_net', model.model.22.cv3.0.2.weight in the argument 'net' should have the same shape as model.model.22.cv3.0.2.weight in the argument 'parameter_dict'. But got its shape (10, 128, 1, 1) in the argument 'net' and shape (80, 128, 1, 1) in the argument 'parameter_dict'.

@Salary-only-17k
Copy link
Author

我测试了yolov8s yolov7tiny yolov5n都不能加载????

@WongGawa
Copy link
Collaborator

感谢反馈。请提供一下详细信息。
执行命令是什么,并且权重从哪里获取得到的呢?

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