- 报错一
(1)错误【Tensorflow】Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
(2)解决
with tf.Session() as sess:
将上面代码换成:
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
with tf.Session(config=config) as sess:
(1)错误【Tensorflow】Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
(2)解决
with tf.Session() as sess:
将上面代码换成:
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
with tf.Session(config=config) as sess: