E tensorflow/stream_executor/cuda/cuda_dnn.cc:352] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR:
问题描述:
Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
原因分析:
不兼容。
解决方案:
添加
import tensorflow as tf
#=======
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
session = tf.Session(config=config)
#======