a. Train PanoOcc with 8 GPUs.
./tools/dist_train.sh ./projects/configs/PanoOcc/Occupancy/Occ3d-nuScenes/PanoOcc_small.py 8
b. Test PanoOcc with 8 GPUs.
./tools/dist_test_dense.sh ./projects/configs/PanoOcc/Occupancy/Occ3d-nuScenes/PanoOcc_small.py work_dirs/PanoOcc_small/epoch_24.pth 8
You can evaluate the F-score at the same time by adding --eval_fscore
.
c. Test with 8 GPUs for test split.
./tools/dist_test_dense.sh ./projects/configs/PanoOcc/Occupancy/Occ3d-nuScenes/PanoOcc_small.py work_dirs/PanoOcc_small/epoch_24.pth 8 --format-only --eval-options 'submission_prefix=./occ_submission'
a. Train PanoOcc with 8 GPUs.
./tools/dist_train.sh ./projects/configs/PanoOcc/Panoptic/PanoOcc_small_4f.py 8
b. Test PanoOcc with 8 GPUs.
# for segmentation eval
./tools/dist_test_seg.sh ./projects/configs/PanoOcc/Panoptic/PanoOcc_small_4f.py work_dirs/PanoOcc_small_4f/epoch_24.pth 8
# for detection eval
./tools/dist_test.sh ./projects/configs/PanoOcc/Panoptic/PanoOcc_small_4f.py work_dirs/PanoOcc_small_4f/epoch_24.pth 8
c. Test with 8 GPUs for test split.
./tools/dist_test_seg_submit.sh ./projects/configs/PanoOcc/Panoptic/PanoOcc_base_4f_cat_test.py work_dirs/PanoOcc_base_4f_cat_test/epoch_24.pth 8
# Also need to convert to submission format, remind to add submission.json in the folder
python ./tools/test_submit.py
d. Train with 8 GPUs for sparse convolution.
./tools/dist_train.sh ./projects/configs/PanoOcc/Panoptic/sparse/PanoOcc_sparse_small.py 8