SPconv稀疏卷积配置安装

1.首先区分Gitclone和在github上直接下载项目源码是不一样的,对于spconv这个项目来说,里面有第三方依赖库pybind11等,直接下载zip文件对应的third_party下的文件是空的,所以,为了避免踩雷,Git clone更快捷。

2.附Git clone 加速下载链接

先下载主项目

git clone https://github.com.cnpmjs.org/traveller59/spconv.git

 再下载第三方依赖

git clone https://github.com.cnpmjs.org/NVIDIA/cutlass
git clone https://github.com.cnpmjs.org/boostorg/mp11
git clone https://github.com.cnpmjs.org/pybind/pybind11.git

下载完后把以上三个文件夹拷贝到spconv/third_party下,

3.编译

python setup.py bdist_wheel

4.进入spconv/dist文件下,安装whl文件

pip install spconv-1.2.1-cp37-*.whl

5.测试安装成功:

import spconv

你可能感兴趣的:(图形图像,python编程,神经网络,深度学习,pytorch)