https://blog.csdn.net/xianqin_ma/article/details/79525519
The specific problem is shown below: (My TensorFlow version is 1.2)
E tensorflow/stream_executor/cuda/cuda_dnn.cc:359] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
E tensorflow/stream_executor/cuda/cuda_dnn.cc:326] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
2018-03-12 10:55:56.078991: F tensorflow/core/kernels/conv_ops.cc:671] Check failed: stream->parent()->GetConvolveAlgorithms(&algorithms)
Aborted (core dumped)
Tried many solutions for this problem, the final solution is:
Execute: sudo rm -R -f ~/.nv/ (be sure not to miss "/" at the end, otherwise it will prompt ".nv" as a directory)
I have tried other methods, but it doesn't work.
I also successfully executed this:
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.8)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
For this issue, I provide a reference link: https://github.com/tensorflow/tensorflow/issues/6698