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
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