Giter VIP home page Giter VIP logo

googlecolabexample's Introduction

Google Colab

Google Drive and Runnning .py scripts

Sample code for this can be found here.

Long training sessions

There is no official doc, but this is a good source. Basically, even if the browser is opened and the computer is awake, the maximum runtime is 12 hours.

  • The 'maximum lifetime' of a running notebook is 12 hours (browser open)
  • An 'Idle' notebook (browser closed) instance cuts-off after 90 minutes
  • You can have a maximum of 2 notebooks running concurrently
  • If you close the notebook window and open it while the instance is still running, the cell outputs and variables will still persist. However if the notebook instance has been recycled, your cell outputs and variables will no longer be available.

Given this, the best approach seems to use Keeping you Awake and leave the browser open, run the script in a mounted Google Drive and save the model each epoch. Then, even if the sessions ends and the local data is lost, the model still should have been saved to Google Drive.

googlecolabexample's People

Contributors

pedrouria avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.