1.could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED解决办法 config = tf.ConfigProto(gpu_options=tf.GPUOptions(allow_growth=True)) sess = tf.Session(config=config)