直接编译作者提供好的环境配置
git clone --recursive https://github.com/JingwenWang95/DSP-SLAM.git
# 编译前注意修改其中部分内容
# 按/Thirdparty/mmdection3d/mmdet3d/__init__.py max 、min Version修改版本
mmcv-full==1.4.0 # 若卡在Building ,尝试修改版本或者修改pytorch的版本
mmdet==2.19.0
mmsegmentation==0.20.0
# 激活dsp-slam环境
conda activate dsp-slam
# 安装pytorch工具
conda install pytorch torchvision torchaudio