您的位置:首页 > 编程语言 > Python开发

复现seglink环境配置 (Ubuntu18+虚拟环境python2.7 安装 OpenCV2.4.13.6 )

2019-03-22 22:05 1716 查看

终于把seglink 代码跑出来了,还进行了可视化,O(∩_∩)O哈哈~

当我觉得这世界温肉可爱,春风吹得正爽时,训练集把我安排的明明白白的……

记Opencv 安装又卸载的第365次,安装的时候这个我看不懂的错误又出现了,哈哈真的是开心呢,too young too simple,以为重装就遇不到了……

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

opencv_dep_CUDA_nppi_LIBRARY

cuda 9.0 与 opencv 版本匹配问题:

原因

在cuda9里面,NVIDIA把

libnppi.so
换成
libnppc.so libnppial.so libnppicc.so libnppicom.so libnppidei.so libnppif.so libnppig.so libnppim.so libnppist.so libnppisu.so libnppitc.so libnpps.so

下面送上这位大神的解决方案:

https://wgshun.top/2018/06/ubuntu-install-opencv/

opencv nvcc fatal : Unsupported gpu architecture 'compute_20'

原因:cuda9不支持‘computer20’

解决方案:

https://blog.csdn.net/renhanchi/article/details/80493232

记得虚拟环境要使用opencv 需要将cv2.so链接到虚拟环境中

参考:https://blog.csdn.net/wgshun616/article/details/83383538

安装matplotlib1.5.1

[code]pip install matplotlib==1.5.1

事实证明使用命令 sudo apt-get python-matplotlib 不管用

 卸载matplotlib

[code]sudo pip uninstall matplotlib
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: