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

终于把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

pip install matplotlib==1.5.1

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

 卸载matplotlib

sudo pip uninstall matplotlib
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值