NVIDIA-AI-IOT / trt_pose_hand

Real-time hand pose estimation and gesture classification using TensorRT
MIT License
206 stars 49 forks source link

EOFError: Ran out of input #17

Open EmilianV52emi opened 1 year ago

EmilianV52emi commented 1 year ago

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