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

get_wts.py do not work for yolov4-tiny #22

Open
batrlatom opened this issue Jul 25, 2021 · 1 comment
Open

get_wts.py do not work for yolov4-tiny #22

batrlatom opened this issue Jul 25, 2021 · 1 comment

Comments

@batrlatom
Copy link

Hi,
having torch v 1.8 on jetson device, I am unable to get a .wts file.

I think that there is a mismatch between the model it expects and the real file you have provided in your README.

   self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Darknet:
	Missing key(s) in state_dict: "total_ops", "total_params", "module_list.total_ops", "module_list.total_params", "module_list.0.total_ops", "module_list.0.total_params", "module_list.1.total_ops", "module_list.1.total_params", "module_list.2.total_ops", 

etc.
etc.
...

@tjuskyzhang
Copy link
Owner

please try https://github.com/WongKinYiu/PyTorch_YOLOv4/tree/u3_preview with yolov4-tiny.pt

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