valeoai / xmuda

Cross-Modal Unsupervised Domain Adaptationfor 3D Semantic Segmentation
Other
192 stars 36 forks source link

KeyError: 'Tr' reported #10

Closed weiliuxm closed 4 years ago

weiliuxm commented 4 years ago

I encountered the following error when preprocessing the semanticKITTI Traceback (most recent call last): File "xmuda/data/semantic_kitti/preprocess.py", line 176, in <module> preprocess('val', root_dir, out_dir) File "xmuda/data/semantic_kitti/preprocess.py", line 133, in preprocess dataloader = DataLoader(DummyDataset(root_dir, split), num_workers=8) File "xmuda/data/semantic_kitti/preprocess.py", line 22, in __init__ self.glob_frames(scenes) File "xmuda/data/semantic_kitti/preprocess.py", line 29, in glob_frames calib = self.read_calib(osp.join(self.root_dir, 'dataset', 'sequences', scene, 'calib.txt')) File "xmuda/data/semantic_kitti/preprocess.py", line 69, in read_calib calib_out['Tr'][:3, :4] = calib_all['Tr'].reshape(3, 4) KeyError: 'Tr' Best regards, Wei

maxjaritz commented 4 years ago

Does my comment in this previous issue help? #2

weiliuxm commented 4 years ago

Thank you. Now it works.