Problem description
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
Cause analysis:
Insufficient GPU memory
Solution:
1.kill -9 PID_*
2. Dynamically allocate GPU memory:
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
Read More:
- [Solved] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- [Solved] TF2.4 Error: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- Error using tensorflow GPU: could not create cudnn handle: cudnn_STATUS_NOT_INITIALIZED
- [Solved] Tensorflow2.0 Error: Function call stack:distributed_function
- [Solved] Tensorflow error or keras error and tf.keras error: oom video memory is insufficient
- TensorFlow-gpu Error: failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
- Error occurred when finalizing generatordataset iterator [How to Solve]
- Tensorflow Run Error or the interface is stuck or report error: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- Tensorflow Error: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- [Solved] Tensorflow Error: failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
- [Solved] Tensorflow-gpu Error: self._traceback = tf_stack.extract_stack()
- [How to Solve] Internal: blas sgemm launch failed
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
- [Solved] Nacos Cluster startup error: error=‘Cannot allocate memory‘ (errno=12)
- [Solved] OpenCV Train the class Error: Bad argument & Error: Insufficient memory
- Tensorflow GPU error (4 Type Error and their Solutions)
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
- [Solved] sparkSQL Error: WARN TaskMemoryManager: Failed to allocate a page (bytes), try again.
- How to Solve Git error: out of memory
- Spring boot uses configuration interface webmvcconfigurer to solve cross domain problems