TensorFlow: Blas GEMM launch failed

后端 未结 15 1068
攒了一身酷
攒了一身酷 2020-12-05 05:11

When I\'m trying to use TensorFlow with Keras using the gpu, I\'m getting this error message:

C:\\Users\\nicol\\Anaconda3\\envs\\tensorflow\\lib\\site-packag         


        
15条回答
  •  有刺的猬
    2020-12-05 05:25

    For me, closing and restarting my processes using Python worked.

    I tried a few things here but they didn't work. For example, the

        os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
    

    line. I think it is because I am using a newer version of Keras and Tensorflow. A lot of what I have read on the internet, include the official Keras tutorial, does not work because of version conflicts.

    But I saw a couple of posts about more than one Python process running. So I shut down Jupyter, Anaconda, and PyCharm, and restarted everything. And then the error went away. It may or may not be what fixes is for you, but it is worth a try.

提交回复
热议问题