Hello, I prepare the dataset according to your instruction:
However, when I run "python tools/test.py ./projects/configs/occformer_nusc/occformer_nusc_r50_256x704.py ./ckpts/occformer_nusc_r50.pth --eval=bbox", I met the following error:
File "/home2/wzc/anaconda3/envs/uniad2/lib/python3.8/site-packages/mmdet/datasets/pipelines/compose.py", line 40, in call
data = t(data)
File "/home2/wzc/OccFormer/projects/mmdet3d_plugin/datasets/pipelines/loading_nusc_occ.py", line 76, in call
points_label = np.fromfile(lidarseg_labels_filename, dtype=np.uint8).reshape([-1, 1])
FileNotFoundError: [Errno 2] No such file or directory: 'data/nuscenes/lidarseg/v1.0-trainval/a9f20e17155844bbb5e3781a8a0e206c_lidarseg.bin'
In fact, this file really exists. But it looks the path is error here.
I find what happend here:
I am not follow the path setting according to instruction, because I have another project which also uses Nusences dataset. I don't have enough disk spece to copy such a big folder again to my Occformer folder. So I try to change to path setting in the code. The following data root also need to change to my own:
Hello, I prepare the dataset according to your instruction:
However, when I run "python tools/test.py ./projects/configs/occformer_nusc/occformer_nusc_r50_256x704.py ./ckpts/occformer_nusc_r50.pth --eval=bbox", I met the following error:
File "/home2/wzc/anaconda3/envs/uniad2/lib/python3.8/site-packages/mmdet/datasets/pipelines/compose.py", line 40, in call data = t(data) File "/home2/wzc/OccFormer/projects/mmdet3d_plugin/datasets/pipelines/loading_nusc_occ.py", line 76, in call points_label = np.fromfile(lidarseg_labels_filename, dtype=np.uint8).reshape([-1, 1]) FileNotFoundError: [Errno 2] No such file or directory: 'data/nuscenes/lidarseg/v1.0-trainval/a9f20e17155844bbb5e3781a8a0e206c_lidarseg.bin'
In fact, this file really exists. But it looks the path is error here.
I find what happend here: I am not follow the path setting according to instruction, because I have another project which also uses Nusences dataset. I don't have enough disk spece to copy such a big folder again to my Occformer folder. So I try to change to path setting in the code. The following data root also need to change to my own: