配置
Ubuntu18.0.4
方案
先保证版本一样,已经试过了别的版本,都不行,只有这个可以。
(1)下载spconv1.0源代码分支:https://github.com/traveller59/spconv/tree/8da6f967fb9a054d8870c3515b1b44eca2103634
(2)下载pybind11:https://github.com/pybind/pybind11
(3)解压pybind11,放到spconv的子文件third_party里
(4)在spconv里执行 python setup.py bdist_wheel
(5)Run cd ./dist, use pip to install generated whl file.