Galaxies99 / TransCG

[RAL 2022 & ICRA 2023] TransCG: A Large-Scale Real-World Dataset for Transparent Object Depth Completion and A Grasping Baseline
https://graspnet.net/transcg
Other
84 stars 12 forks source link

problems about loading checkpoint #6

Closed Nonmy closed 2 years ago

Nonmy commented 2 years ago

Hello, I meet following error when loading provided checkpoint. I use torch.load() with torch1.9.0+cu111. File "xxx/lib/python3.7/site-packages/torch/serialization.py", line 608, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File 'xxx/lib/python3.7/site-packages/torch/serialization.py", line 777, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified. when loading provided checkpoint. I use torch.load() with torch1.9.0+cu111. I'm not sure if I conduct wrong loading function or meet a mismatch of torch versions.

Galaxies99 commented 2 years ago

Hello, I think it might be the version problem. I cannot reproduce the problem in my environment. I would suggest to change torch version and try it again.