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

Inconsistency with the latest version of yolov5 #236

Closed
zhiqwang opened this issue Nov 24, 2021 Discussed in #233 · 1 comment · Fixed by #235
Closed

Inconsistency with the latest version of yolov5 #236

zhiqwang opened this issue Nov 24, 2021 Discussed in #233 · 1 comment · Fixed by #235
Labels
bug / fix Something isn't working enhancement New feature or request

Comments

@zhiqwang
Copy link
Owner

zhiqwang commented Nov 24, 2021

Seems that there is a bug caused by the incompatibility with the latest version of YOLOv5 after ultralytics/yolov5#4833 .

Discussed in #233

Originally posted by 123556666 November 22, 2021

I got a RuntimeError when loading custom model trained with the latest version of YOLOv5.

RuntimeError: Error(s) in loading state_dict for Model:
	Missing key(s) in state_dict: "model.33.anchor_grid".
@zhiqwang
Copy link
Owner Author

zhiqwang commented Nov 24, 2021

Hi @123556666 ,

We update the upstream YOLOv5 in #235 , I think this could fix the inconsistency problem, and as such I'm closing this ticket. Please pull the main brach of yolort and check whether this update will fix your problem.

Fell free to create another ticket if you have more questions.

@zhiqwang zhiqwang added the enhancement New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant