MapTR 环境配置教程
conda create -n maptr python=3.8
conda activate maptr
- 安装 torch torchvision torchaudio
这步需要耐心等待
pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install mmcv-full==1.3.18 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.10.0/index.html
- 安装mmdet mmsegmentation timm
pip install mmdet==2.14.0 mmsegmentation==0.14.1 timm==0.9.5
git clone https://github.com/hustvl/MapTR.git
安装 mapTR 代码中自带的 mmdetection3d 和 GKT (这步最关键!)
这步需要耐心等待
cd /root/