ruipengZ / Dynamic-GNN-Planning

Code for NeurIPS22' paper Learning-based Motion Planning in Dynamic Environments Using GNNs and Temporal Encoding
https://ruipengz.github.io/neurips22/
16 stars 1 forks source link

When I run eval.py,I got the problem.FileNotFoundError: [Errno 2] No such file or directory: 'saved_model/simple2arm/weights_gnn_dagger.pt' #4

Open rangfeng1 opened 1 year ago

rangfeng1 commented 1 year ago

pybullet build time: Mar 30 2023 16:06:30 testcase/simple2arm/arm2_env_1000_test.npz loaded testcase/simple2arm/arm2_1000_test.pkl loaded Traceback (most recent call last): File "/home/wxj/anaconda3/envs/pytorch/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3505, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 1, in runfile('/home/wxj/Dynamic-GNN-Planning/eval.py', wdir='/home/wxj/Dynamic-GNN-Planning') File "/opt/pycharm-2022.3.2/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 198, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "/opt/pycharm-2022.3.2/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/home/wxj/Dynamic-GNN-Planning/eval.py", line 401, in planner = Planner(cfg) File "/home/wxj/Dynamic-GNN-Planning/eval.py", line 56, in init self.model_gnn.load_state_dict(torch.load(model_gnn_path, map_location=device)) File "/home/wxj/anaconda3/envs/pytorch/lib/python3.10/site-packages/torch/serialization.py", line 771, in load with _open_file_like(f, 'rb') as opened_file: File "/home/wxj/anaconda3/envs/pytorch/lib/python3.10/site-packages/torch/serialization.py", line 270, in _open_file_like return _open_file(name_or_buffer, mode) File "/home/wxj/anaconda3/envs/pytorch/lib/python3.10/site-packages/torch/serialization.py", line 251, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'saved_model/simple2arm/weights_gnn_dagger.pt'