NVlabs / PoseCNN-PyTorch

PyTorch implementation of the PoseCNN framework
Other
195 stars 49 forks source link

Model file not found when testing YCB_video trained model #16

Closed emigmo closed 3 years ago

emigmo commented 3 years ago

YCB_video dataset evaluation error:

L87 and L92 NO such files in YCB_video dataset

start loading sdf from /data/yc/Workspace/1-Multi-view-6D/PoseCNN-PyTorch/tools/../lib/datasets/../../data/YCB_Video/data/models/002_master_chef_can/textured_simple_low_res.pth ... Traceback (most recent call last): File "./tools/test_net.py", line 160, in cfg.sdf_optimizer = sdf_optimizer(cfg.TEST.CLASSES[1:], sdf_files) File "/data/yc/Workspace/1-Multi-view-6D/PoseCNN-PyTorch/tools/../lib/sdf/sdf_optimizer.py", line 42, in init sdf_info = torch.load(sdf_file) File "/data/yc/anaconda3/envs/vlm/lib/python3.7/site-packages/torch/serialization.py", line 584, in load with _open_file_like(f, 'rb') as opened_file: File "/data/yc/anaconda3/envs/vlm/lib/python3.7/site-packages/torch/serialization.py", line 234, in _open_file_like return _open_file(name_or_buffer, mode) File "/data/yc/anaconda3/envs/vlm/lib/python3.7/site-packages/torch/serialization.py", line 215, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: '/data/yc/Workspace/1-Multi-view-6D/PoseCNN-PyTorch/tools/../lib/datasets/../../data/YCB_Video/data/models/002_master_chef_can/textured_simple_low_res.pth'

yuxng commented 3 years ago

Follow readme and download these YCB models.