Tensorflow1.10 Gpu: 2080 cuda: 9
Question:
Even if the batchsize is set to 1, there will be a problem when performing the training
could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Solutions:
Searched a lot of methods, the following list of solutions
A,
Question:
Even if the batchsize is set to 1, there will be a problem when performing the training
could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Solutions:
Searched a lot of methods, the following list of solutions
A,
config = tf.ConfigProto() config.gpu_options.per_process_gpu_memory_fraction = 1.0 session = tf.Session(config=config, ...)
It doesn’t work for me…
config = tf.ConfigProto() config.gpu_options.allow_growth = True sess = tf.Session(config=config)
It doesn’t work for me…
Three,
Execute SUdo RM-f ~/.nv to solve the problem
It doesn’t work for me…
Four,
Set existing automatic growth in this way; That’s how I solved it,
Note that this is different from the second one, the green one, depending on the tensorFlow version, the import is different, and I’ve listed two;
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
From tensorflow import ConfigProto
from tensorflow import InteractiveSession
config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
Read More:
- tensorflow2.1 Error:Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- RuntimeError: cuDNN error: CUDNN_ STATUS_ EXECUTION_ Failed solutions
- Pytorch RuntimeError CuDNN error CUDNN_STATUS_SUCCESS (How to Fix)
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- (Solved) pytorch error: RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED (install cuda)
- RuntimeError: cudnn RNN backward can only be called in training mode
- Could NOT find CUDNN: Found unsuitable version “..“, but required is at least “6“
- check CUDA and CUDNN version
- failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
- tensorflow.python.framework.errors_impl.InternalError: Failed to create session.
- RuntimeError: Unable to find a valid cuDNN algorithm to run convolution
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- Using pip to install tensorflow: tensorflow — is not a supported wheel on this platform
- RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`
- Record a problem of no module named ‘tensorflow. Examples’ and’ tensorflow. Examples. Tutorials’ in tensorflow 2.0
- Tensorflow UnknownError (see above for traceback): Failed to get convolution algorithm. This is pro
- Tensorflow error: module ‘tensorflow’ has no attribute ‘xxx’
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- Tensorflow error: attributeerror: module ‘tensorflow’ has no attribute ‘unpack’ (‘pack ‘)