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

storage has wrong size: expected -8367237312445466787 got 1 #32

Open
leonshek opened this issue Aug 27, 2019 · 1 comment
Open

storage has wrong size: expected -8367237312445466787 got 1 #32

leonshek opened this issue Aug 27, 2019 · 1 comment

Comments

@leonshek
Copy link

when i run python demo.py --demo images, i got the following errors:
...
loading parameters: cache/ExtremeNet_250000.pkl
building neural network...
module_file: models.ExtremeNet
total parameters: 198531504
loading parameters...
loading from cache/ExtremeNet_250000.pkl
Trackback (most recent call last):
File "demo.py", line 107, in
nnet.load_pretrained_params(args.model_path)
File "/home/ExtremeNet-master/nnet/py_factory.py", line 109, in load_pretrained_params
params = torch.load(f)
File "/usr/lib/python3.6/site-packages/torch/serialization.py", line 358, in load
return _load(f, map_location, pickle_module)
File "/usr/lib/python3.6/site-packages/torch/serialization.py", line 549, in _load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected -8367237312445466787 got 1

torch version is 0.4.1 and python 3.6.5, what is the problem? @xingyizhou

@fengliu101
Copy link

I have also encountered this problem. Have you solved it?

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