Follow https://github.com/fundamentalvision/BEVFormer/blob/master/docs/install.md to prepare the environment.
-
Download the nuScenes dataset and put in into
data/nuscenes
-
Download our
openocc_v2.1.zip
andinfos.zip
from HERE and unzip them indata/nuscenes
. -
Organize your folder structure as below:
data/nuscenes
├── maps
├── nuscenes_infos_train_occ.pkl
├── nuscenes_infos_val_occ.pkl
├── openocc_v2
├── samples
├── sweeps
├── v1.0-test
└── v1.0-trainval
./tools/dist_train.sh projects/configs/bevformer/bevformer_base_occ.py 8
export CUDA_VISIBLE_DEVICES=0
./tools/dist_test.sh projects/configs/bevformer/bevformer_base_occ.py work_dirs/bevformer_base_occ/epoch_24.pth 1
-
Fill your information in
projects/mmdet3d_plugin/datasets/nuscenes_occ.py
(Line 231). -
Test the baseline model on the test split with 8 GPUs, and generate the submission to the official evaluation server.
./tools/dist_test.sh projects/configs/bevformer/bevformer_base_occ_test.py work_dirs/bevformer_base_occ/epoch_24.pth 8 --format-only --eval-options 'submission_prefix=./occ_submission'
- The submission file is located in
occ_submission/submission.gz
. Good luck!
TBD