1. 下載指定版本號
選擇指定版本號下載mmdetection3d的源碼,如這里選擇的是0.17.2版本
git clone https://github.com/open-mmlab/mmdetection3d.git -b v0.17.2
2. 安裝
cd mmdetection3d
安裝依賴庫
pip install -r requirment.txt
編譯安裝
pip install -v e .
安裝成功了0.17.2
可能報錯情況:
subprocess.CalledProcessError: Command ‘[‘which‘, ‘g++‘]‘ returned non-zero exit status 1.
解決方式:
sudo apt-get install build-essential
然后重新
pip install -v e .