I am using google-colaboratory to train some convnets on image classification with Keras. And I get often disconnected from the notebook which I've found (on some forums) to be a frequent issue with some colaboratory users. And when I try to reconnect it gets stuck on "initializing":
So I decided to use Keras Checkpoint to save the model I'm training on my google drive, after each epoch.
During the training the notebook disconnected after 2 epochs, but when I monitored my google drive I've observed that models are being saved after each epoch, despite my colaboratory being disconnected.
My guess is that programs continue their execution in the background even if my noteboook is disconnected.
My question is, Am I guessing it right? And what do these disconnections really mean? (Are our variables, etc., preserved)?