Linux, Python==3.7.6, CUDA == 11.3, pytorch == 1.9.0, mmdet3d == 0.17.1
conda create -n sdtr python=3.7.6 -y
conda activate sdtr
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torch==1.9.0 torchvision==0.10.0
conda install cudatoolkit==11.3.1 cudnn
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.9.0/index.html
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mmdet mmsegmentation
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -v -e .
cd ..
git clone https://github.com/megvii-research/PETR.git
cd SDTR
mkdir ckpts
mkdir data
ln -s {mmdetection3d_path} ./mmdetection3d
ln -s {nuscenes_path} ./data/nuscenes