pts_semantic_mask_path key is not exist in the nuscenes dataset for occupancy prediction task
#2587
-
|
Hello, when I run the bash tools/dist_test.sh projects/TPVFormer/configs/tpvformer_8xb1-2x_nus-seg.py checkpoints/tpvformer_pretrained_fcos3d_r101_dcn.pth 8I encountered the error that: File "~/mmdetection3d/mmdet3d/datasets/transforms/loading.py", line 1060, in transform
results = self._load_semantic_seg_3d(results)
File "~/mmdetection3d/mmdet3d/datasets/transforms/loading.py", line 945, in _load_semantic_seg_3d
pts_semantic_mask_path = results['pts_semantic_mask_path']
KeyError: 'pts_semantic_mask_path'It seems the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
It seems to be that your |
Beta Was this translation helpful? Give feedback.
-
|
btw, the checkpoint you are using is for training TPVFormer, you should use this checkpoint to validate the metrics. |
Beta Was this translation helpful? Give feedback.

It seems to be that your
pklfile does not havepts_semantic_mask_pathin it. You can refer to this guide to regeneratenuscenes_infos_train.pkl. You have to make sure to additionally download the nuScenes lidarseg.