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()
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()
相关文章推荐
- tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 错误的解决办法
- tensorflow 1.4 could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 错误的解决办法
- could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR问题解决方案
- 【Caffe】Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
- Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
- Caffe与cudnn 6.0 的兼容性问题 CUDNN_STATUS_BAD_PARAM
- caffe:Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
- could not find cudnnCreate in cudnn DSO
- CUDNN_STATUS_NOT_INITIALIZED 解决办法
- java.sql.SQLException: Could not retrieve transation read-only status server
- Mysql中关于Could not retrieve transation read-only status server
- 解决Could not retrieve transaction read-only status from server
- Windows10 64Bit完美配置Theano并实现GPU加速并解决((CNMeM is disable,CuDNN not available))
- Could not retrieve transation read-only status server Query: insert into
- 数据库连接丢失,重连 Cause: java.sql.SQLException: Could not retrieve transation read-only status server
- HTTP Status 500 - Could not open Hibernate Session for transaction;
- ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the clas
- pytorch runtime error: CUDNN_STATUS_MAPPING_ERROR
- apt update error "E: The package lists or status file could not be parsed or opened."
- R_X86_64_32 & could not read symbols: Bad value编译