官方地址
https://github.com/traveller59/spconv/tree/v1.2.1
步骤
git clone https://github.com/traveller59/spconv.git --recursive
sudo apt-get install libboost-all-dev
# 确保 cmake version >= 3.13.2,查看版本命令 cmake --version
# 如果低于此版本,按照下述步骤安装并加入路径
wget https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-Linux-x86_64.tar.gz
export PATH=/home/name/xxx/cmake-3.18.2-Linux-x86_64/bin:"${PATH}"
source ~/.bashrc
# cmake安装好接着往下走
python setup.py bdist_wheel
# 如果报错 no moudle namd pccm,先安装pccm,再执行上面那句
pip install pccm
cd ./dist
pip install spconv-2.1.21-py3-none-any.whl