Environment Setup

April 14, 2024 ยท View on GitHub

We use the same environment as StreamMapNet and the environment setup is largely borrowed from their repo.

Step 1. Create conda environment and activate:

conda create --name maptracker python=3.8 -y
conda activate maptracker

Step 2. Install PyTorch.

pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html

Step 3. Install MMCV series.

# Install mmcv-series
pip install mmcv-full==1.6.0
pip install mmdet==2.28.2
pip install mmsegmentation==0.30.0
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v1.0.0rc6 
pip install -e .

Step 4. Install other requirements.

pip install -r requirements.txt