title: What is the official way to do long-running training on google colab?
body: <p>I have a neural net that takes about 7-15 days to train on several GPU's.
  Google colab disconnects after running the script for a few hours. There are a couple &quot;hacks&quot; that you can do to keep the session alive but this is obviously not the official standard.</p>
  <p>Once I have written my script in google colab, how should I go about running the script for a long period of time? I'm connected and using google's deep learning VM's.</p>