完美解决稀疏卷积报错spconv/box_iou.h:: boost/geometry.hpp

配置稀疏卷积python setup.py bdist_wheel报错:

spconv/include/spconv/box_iou.h:21:30: fatal error: boost/geometry.hpp: No such file or director

如下图所示:
完美解决稀疏卷积报错spconv/box_iou.h:: boost/geometry.hpp_第1张图片

解决方法,安装libboost配置文件,终端执行如下命令:

sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-dev

再次配置稀疏卷积:完美解决

查看文献:

https://stackoverflow.com/questions/50511546/fatal-error-boost-filesystem-hpp-no-such-file-or-directory

https://github.com/traveller59/spconv/issues/251

你可能感兴趣的:(TensorFlow,人工智能,ubuntu,linux)