您的位置:首页 > 其它

could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM

2017-09-27 16:17 736 查看
without close of session,you can use method 1, with tf.session or sess.close()

1.

config = tf.ConfigProto(device_count = {'GPU': 0})

config.gpu_options.allow_growth = True
with tf.Session(config=config) as sess:

2.

or 

#close session

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