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

deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly) RuntimeError: storage has wrong size: expected 0 got 2359296 #4

Open
JohnParken opened this issue Aug 30, 2019 · 3 comments

Comments

@JohnParken
Copy link

image

@JohnParken
Copy link
Author

楼主对这各错误有了解吗?

@lonePatient
Copy link
Owner

@JohnParken 加载模型出错,不知道是否pytorch版本有关?或者pytorch_transformer 我的pytorch版本是1.10好像,你的模型是改版本代码训练出来的吗 ?还是老版本训练的

@JohnParken
Copy link
Author

JohnParken commented Aug 31, 2019 via email

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