-
Notifications
You must be signed in to change notification settings - Fork 48
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
Comments
我测试了yolov8s yolov7tiny yolov5n都不能加载???? |
感谢反馈。请提供一下详细信息。 |
可以提供一下训练的所使用的数据集是否是coco数据集?如果是要使用其他数据集微调的话,可以参考exampl编写所使用的yaml配置文件;或者可以使用--strict_load False,能否解决您的问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'.
The text was updated successfully, but these errors were encountered: