ERROR: Failed building wheel for inplace-abn

1. pip安装并编译inplace-abn时报错,报错如下

/usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_

2. 问题解决办法:

把CUDA 版本从10.1.105 升级到10.2

3. 问题原因:

CUDA10.1.105有BUG,导致编译失败

4. 参考资料:

https://github.com/pytorch/vision/issues/1893

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

你可能感兴趣的:(深度学习记录,pytorch,深度学习,python,人工智能)