could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

    把gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.7)
    sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
    
    改成gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.3)
    sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
   或者再小一点

你可能感兴趣的:(python)