logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【已解决】NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

基于ubuntu16.04,本人在更换一次系统下载源后,误操作进行了内核升级。出现NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

#ubuntu#linux
ubuntu中 opencv cap.isOpened 输出总是false

@[TOC](opencv videocapture() 读取视频cap.isOpened 输出总是false)opencv videocapture读取视频cap.isOpened 输出总是false应该是视频本身的问题,换个视频就可以了

#机器学习#神经网络#深度学习
【已解决】NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

基于ubuntu16.04,本人在更换一次系统下载源后,误操作进行了内核升级。出现NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 的报错

#ubuntu#linux
python中np.array的shape(2,)与shape(1 ,2)的运算细节

【代码】python中np.array的shape(2,)与shape(1 ,2)的运算细节。

#python#numpy#开发语言
keras运行错误AttributeError: ‘str‘ object has no attribute ‘decode‘

keras运行过程出现如下错误:original_keras_version = f.attrs['keras_version'].decode('utf8')AttributeError: 'str' object has no attribute 'decode'方法:卸载重装不同版本pip uninstall h5pypip install h5py==2.10.0

#python#tensorflow#神经网络
linux中opencv读取视频isopen返回false

环境Ubuntu16.04 。安装的opencv,python3.7cap.isOpened 输出false,出错原因在cv2.VideoCapture(filename)处。解决方法,运行:pip install opencv-contrib-python

#python#opencv#linux +1
Python中sys.stdout.write和sys.stdout.flush的用法及说明

【代码】Python中sys.stdout.write和sys.stdout.flush的用法及说明。

#python#开发语言
到底了