FileNotFoundError: No such file: -> Error occuring due to TimeOut of Google Drive?

前端 未结 2 1225
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 05:25

I created a DataGenerator with Sequence class.

import tensorflow.keras as keras
from skimage.io import imread
from skimage.transform import resiz         


        
相关标签:
2条回答
  • 2020-12-22 05:56

    You can write this code to avoid timeout in google colab in console

    ConnectButton() {     
        console.log("Connect pushed");      
        document.querySelector("#top-toolbar > colab-connect- 
            button").shadowRoot.querySelector("#connect").click()  
    } 
    setInterval(ConnectButton,60000);
    

    Source: How to prevent Google Colab from disconnecting?

    0 讨论(0)
  • 2020-12-22 06:08

    The problem seems to be the input. Your model cannot find the input file. If you change runtime then there's gonna be a factory reset. All your disk content in the session will be erased.

    Run cells from the beginning if you change runtime in between.

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