LoginSignup
5
3

More than 5 years have passed since last update.

TensorFlowでCould not create cudnn handle: CUDNN_STATUS_INTERNAL_ERRORとエラーが出てしまった時の対処法

Last updated at Posted at 2019-04-03

環境

Ubuntu 18.04
Geforce GTX 2070
cuda 10.0
cuDNN 7.4
Anaconda
Python 3.6
TensorFlow 1.13.1

対処法

   tf.Session()

 の箇所を

   session_config = tf.ConfigProto(gpu_options=tf.GPUOptions(allow_growth=True))
   tf.Session(config = session_config)

 として、allow_growth=Trueを追記。

参考

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3