You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load the Xception, there is an error signs: Traceback (most recent call last): File "main.py", line 243, in <module> main(opt) File "main.py", line 216, in main model = TwoStream(opt.num_class, opt.modality, base_model=opt.arch, new_length=opt.sample_duration) File "/home/zouyiping/streams/model.py", line 12, in __init__ self._prepare_base_model(base_model, num_class) File "/home/zouyiping/streams/model.py", line 30, in _prepare_base_model self.base_model = xception() File "/home/zouyiping/streams/models/xception.py", line 216, in xception model.load_state_dict(model_zoo.load_url(settings['url'])) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/hub.py", line 499, in load_state_dict_from_url return torch.load(cached_file, map_location=map_location) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/serialization.py", line 426, in load return _load(f, map_location, pickle_module, **pickle_load_args) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/serialization.py", line 603, in _load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.
can anyone tell me how to solve it?
The text was updated successfully, but these errors were encountered:
When I load the Xception, there is an error signs:
Traceback (most recent call last): File "main.py", line 243, in <module> main(opt) File "main.py", line 216, in main model = TwoStream(opt.num_class, opt.modality, base_model=opt.arch, new_length=opt.sample_duration) File "/home/zouyiping/streams/model.py", line 12, in __init__ self._prepare_base_model(base_model, num_class) File "/home/zouyiping/streams/model.py", line 30, in _prepare_base_model self.base_model = xception() File "/home/zouyiping/streams/models/xception.py", line 216, in xception model.load_state_dict(model_zoo.load_url(settings['url'])) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/hub.py", line 499, in load_state_dict_from_url return torch.load(cached_file, map_location=map_location) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/serialization.py", line 426, in load return _load(f, map_location, pickle_module, **pickle_load_args) File "/home/zouyiping/software/python3/lib/python3.7/site-packages/torch/serialization.py", line 603, in _load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.
can anyone tell me how to solve it?
The text was updated successfully, but these errors were encountered: