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

RuntimeError: storage has wrong byte size: expected %ld got %ld15171348084826560692409600 #32

Open
wangjx22 opened this issue Dec 19, 2024 · 0 comments

Comments

@wangjx22
Copy link

hello, I have an error: RuntimeError: storage has wrong byte size: expected %ld got %ld15171348084826560692409600, when load the ckpt by checkpoint_dict = torch.load(model_file, map_location='cpu') in the deepab/models/AbResNet/AbResNet.py.

the model file is loaded from wget https://data.graylab.jhu.edu/ensemble_abresnet_v1.tar.gz
and my env is torch=2.4.1, python=3.8.20

Should I use the torch=1.7.1 to load the ckpt?

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

1 participant