failed to create cublas handle:CUBLAS_STATUS_ALLOC_FAILED

 

看了很多博客,有些说的是加上

gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.333)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))

这两句,加了并没有用,之后发现......是因为之前的debug窗口没关,占用了GPU。哇,整了一下午。

failed to create cublas handle:CUBLAS_STATUS_ALLOC_FAILED

所以。。。把debug窗口关了就行了。