您的位置:首页 > 其它

tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 错误的解决办法

2018-10-29 10:18 906 查看

tensorflow 1.4  cuda8.0 cudnn 6.0
执行gpu版本的 MNIst 时候报错:


E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR


E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM


F tensorflow/core/kernels/conv_ops.cc:672] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo<T>(), &algorithms)


试了很多办法

(1):
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.333)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
这个方法对我来说不管用,还是之前的错误;


(2):执行 sudo rm -r -f ~/.nv 解决问题


参考:https://github.com/tensorflow/tensorflow/issues/6698

欢迎大家都交流;
---------------------  
作者:Eaglest  
来源:CSDN  
原文:https://blog.csdn.net/Eagleest/article/details/78584328  
版权声明:本文为博主原创文章,转载请附上博文链接!

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐