-
Notifications
You must be signed in to change notification settings - Fork 927
Description
Hello, I downloaded your models as your point. But when I train or run demo they show as follow:
RuntimeError: unexpected EOF, expected 1132938 more bytes. The file might be corrupted.
I tried the solution searched on Google, but not solved.
How to solve it? Thank you.
The training terminal output as follow:
`Traceback (most recent call last):
File "train.py", line 97, in
main(opt)
File "train.py", line 43, in main
model = create_model(opt.arch, opt.heads, opt.head_conv)
File "/media/lalalademaxiya/FairMOT/src/lib/models/model.py", line 25, in create_model
model = get_model(num_layers=num_layers, heads=heads, head_conv=head_conv)
File "/media/lalalademaxiya/FairMOT/src/lib/models/networks/pose_dla_dcn.py", line 490, in get_pose_net
head_conv=head_conv)
File "/media/lalalademaxiya/FairMOT/src/lib/models/networks/pose_dla_dcn.py", line 433, in init
self.base = globals()base_name
File "/media/lalalademaxiya/FairMOT/src/lib/models/networks/pose_dla_dcn.py", line 313, in dla34
model.load_pretrained_model(data='imagenet', name='dla34', hash='ba72cf86')
File "/media/lalalademaxiya/FairMOT/src/lib/models/networks/pose_dla_dcn.py", line 299, in load_pretrained_model
model_weights = model_zoo.load_url(model_url)
File "/home/XXX/.local/lib/python3.6/site-packages/torch/hub.py", line 506, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "/home/XXX/.local/lib/python3.6/site-packages/torch/serialization.py", line 529, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/XXX/.local/lib/python3.6/site-packages/torch/serialization.py", line 709, in _legacy_load
deserialized_objects[key].set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 1132938 more bytes. The file might be corrupted.
terminate called after throwing an instance of 'c10::Error'
what(): owning_ptr == NullType::singleton() || owning_ptr->refcount.load() > 0 INTERNAL ASSERT FAILED at /pytorch/c10/util/intrusive_ptr.h:348, please report a bug to PyTorch. intrusive_ptr: Can only intrusive_ptr::reclaim() owning pointers that were created using intrusive_ptr::release(). (reclaim at /pytorch/c10/util/intrusive_ptr.h:348)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7fd0e4588193 in /home/XXX/.local/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: + 0x18cd59f (0x7fd08083259f in /home/XXX/.local/lib/python3.6/site-packages/torch/lib/libtorch.so)
frame #2: THStorage_free + 0x17 (0x7fd080ffaba7 in /home/XXX/.local/lib/python3.6/site-packages/torch/lib/libtorch.so)
frame #3: + 0x55d65d (0x7fd0e784965d in /home/XXX/.local/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #4: python3() [0x54f6e6]
frame #5: python3() [0x5734e0]
frame #6: python3() [0x4b1a28]
frame #7: python3() [0x589078]
frame #8: python3() [0x5ade68]
frame #9: python3() [0x5ade7e]
frame #10: python3() [0x5ade7e]
frame #11: python3() [0x5ade7e]
frame #12: python3() [0x5ade7e]
frame #13: python3() [0x5ade7e]
frame #14: python3() [0x5ade7e]
frame #15: python3() [0x5ade7e]
frame #16: python3() [0x5ade7e]
frame #17: python3() [0x5ade7e]
frame #18: python3() [0x56be56]
frame #24: __libc_start_main + 0xe7 (0x7fd0ecc45b97 in /lib/x86_64-linux-gnu/libc.so.6)
Aborted (core dumped)`