Google Colab - Your session crashed for an unknown reason

后端 未结 2 1576
抹茶落季
抹茶落季 2021-01-22 04:29

Your session crashed for an unknown reason

when I run the following cell in Google Colab:

from keras import backend as K
if          


        
相关标签:
2条回答
  • 2021-01-22 04:43

    Just a side note: sometimes you may want to reinstall an litle older version of the related module (see from the error log). It works for me in a case.

    0 讨论(0)
  • 2021-01-22 05:06

    Google Colab is crashing because you are trying to Run Code related to GPU with Runtime as CPU.

    The execution is successful if you change the Runtime as GPU. Steps for the same are mentioned below:

    Runtime -> Change Runtime -> GPU (Select from dropdown).

    Please find the Working code in Github Gist.

    0 讨论(0)
提交回复
热议问题