We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
EOFError Traceback (most recent call last) in 30 31 model_trt = TRTModule() ---> 32 model_trt.load_state_dict(torch.load(OPTIMIZED_MODEL))
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in load(f, map_location, pickle_module, **pickle_load_args) 606 return torch.jit.load(opened_file) 607 return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) --> 608 return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) 609 610
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args) 775 "functionality.") 776 --> 777 magic_number = pickle_module.load(f, **pickle_load_args) 778 if magic_number != MAGIC_NUMBER: 779 raise RuntimeError("Invalid magic number; corrupt file?")
EOFError: Ran out of input
The text was updated successfully, but these errors were encountered:
No branches or pull requests
EOFError Traceback (most recent call last)
in
30
31 model_trt = TRTModule()
---> 32 model_trt.load_state_dict(torch.load(OPTIMIZED_MODEL))
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in load(f, map_location, pickle_module, **pickle_load_args)
606 return torch.jit.load(opened_file)
607 return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
--> 608 return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
609
610
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
775 "functionality.")
776
--> 777 magic_number = pickle_module.load(f, **pickle_load_args)
778 if magic_number != MAGIC_NUMBER:
779 raise RuntimeError("Invalid magic number; corrupt file?")
EOFError: Ran out of input
The text was updated successfully, but these errors were encountered: