-
Notifications
You must be signed in to change notification settings - Fork 5
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
'collections. OrderedDict' object has no attribute 'to'. #1
Comments
Thanks very much for your attention! |
Thanks for your reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI,
The work is amazing, but I have a problem using the pretrain_models:'collections. OrderedDict' object has no attribute 'to'.
It seems that only the "model.state_dict()" is provided. Did the author use the “torch.save(model.state_dict(),model_path)”
instead of "torch.save(model,' save_path')" when saving the model?
The text was updated successfully, but these errors were encountered: