Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.32 KB

install.md

File metadata and controls

61 lines (50 loc) · 1.32 KB

Note

Please install MMDetection3D <= v0.18.1, since the coordinate systems are refactored in versions v1.x.x, for which this code may not work.

Install MMCV

pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html

examples:

pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html

Install MMDetection

git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
git checkout v2.19.0 
sudo pip install -r requirements/build.txt
sudo python3 setup.py develop
cd ..

Install MMSegmentation.

sudo pip install mmsegmentation==0.14.1

Install MMDetection3D

git clone  https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.3 
sudo pip install -r requirements/build.txt
sudo python3 setup.py develop
cd ..

Install PolarFormer

git clone https://github.com/fudan-zvg/PolarFormer
cd PolarFormer
mkdir ckpts
mkdir data
ln -s {mmdetection3d_path} ./mmdetection3d
ln -s {nuscenes_path} ./data/nuscenes

examples

git clone https://github.com/fudan-zvg/PolarFormer
cd PolarFormer
mkdir ckpts ###pretrain weights
mkdir data ###dataset
ln -s ../mmdetection3d ./mmdetection3d
ln -s /data/Dataset/nuScenes ./data/nuscenes