tensorflow出现 this is probably because cuDNN failed to initialize, so try looking to see if a……问题
2020-05-10 04:14
1166 查看
报错信息
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
我的配置
tensorflow1.12
GTX1060
CUDA 10.0
cudnn 7.6.4
方法一:可靠粗暴
将tensorflow1.12替换为tensorflow1.8.0或者1.9.0
而且不能使用conda命令安装
pip install tensorflow-gpu==1.8.0
方法二:简单有效
建立Session时,将代码修改为
config = tf.ConfigProto() config.gpu_options.allow_growth = True sess = tf.Session(config=config)
最好用方法二吧,毕竟现在tf2.0都出来了,降低版本不能长久~
小松与蘑菇 原创文章 126获赞 414访问量 12万+ 关注 私信相关文章推荐
- 解决Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to
- Ubuntu18.04 + CUDA10.0 +cuDNN 7.5.1安装tensorflow-GPU1.13.1出现GPU选择错误的问题
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- solr部署问题 —— http status 503 -server is shutting down or failed to initialize
- “The application has failed to start because its side-by-side configuration is incorrect...”问题
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- tensorflowGPU版出现"Failed to load the native TensorFlow"问题
- The required Server component failed to start so Tomcat is unable to start问题解决
- The required Server component failed to start so Tomcat is unable to start问题解决
- Error: Failed to fetch platform ios Probably this is either a connection problem, or platform speci
- The required Server component failed to start so Tomcat is unable to start问题解决
- QT:This application has failed to start because the application configuration is incorrect...
- The required Server component failed to start so Tomcat is unable to start问题解决
- git 合并分支出现 Please enter a commit message to explain why this merge is necessary;# especially if it
- This is probably because there is no OLE editor registered against the type of file you were trying to open.
- This application has failed to start because the application configuration is incorrect