I have subscribed the Colab Pro +. However, I found I can still open 1 session only. Therefore, it seems there is no difference between Colab Pro. Does it design to be like this? Is it possible to use multiple sessions in Colab Pro +?
Related
I remember that Colab Pro allows you to run 3 sessions at a time. Currently I have only one session running and when I want to run one more session it says I have too many sessions
There's already several angry people complaining here: https://github.com/googlecolab/colabtools/issues
I've looked for some questions and mostly they discussed dataset uploading, but one did state that google colab only use our internet connection to run the code. I am confused with this, does this mean our internet speed also affects the training time of our model? or what matters is that once we ran our code, the google server takes care of it, and do not need our connection?
I think yes, Google Colab's speed is affected by our Internet connection. I'm not absolutely sure why, but you can check in this link. Obviously, when the model is being trained, the Internet data usage rises considerably. My guess is that our computer, as a client, needs to save some hidden internal information relevant to the running state. Therefore, the Colab server has to send this information every time 1 line of code is executed, and the next line of code can only be executed when this information reaches the client. So if the Internet connection is slow, it will take more time for the client to receive the information and the whole process will be slow.
There is also another proof to see if the Internet connection really affects Google Colab's speed. With the coffee Internet, which is significantly stronger than that of my house, the same block of code is executed more than 2 times faster than when using my house's wifi.
Do I need to remain connected with Colab and the internet when training a dataset model (Darknet) for Object detection on Google Colab? As the training is going on Colab and connected to my drive, here Weight files will be saved on my google drive folder. So, can I disconnect my internet and exit colab?
this is the last screen shown when I started my training process on COLAB and now I am waiting for my weight files to be saved in my drive
You absolutely must remain connected to colab for ensuring that your code continues to run. Just because your weight files are being saved to Google Drive does not mean that you can disconnect/close the browser and it will continue to run. Keep in mind that Google Drive is just mounted for the sake of storage space and is not an alternative to an active Colab session.
However, if your Colab session gets disconnected suddenly due to internet/server issues, it'll automatically try to reconnect after a "short" while and continue execution from the interruption point (if you're back online). However, if the time to start after the timeout is too long, you have to run all cells from the start and it can't continue it's most recent operation.
Note that this does not apply if you have exhausted the permitted usage limit for a give time (supposed to be 12 hrs). In this case, you may have to wait for many hours before being allowed to use Colab again
So this may be a stupid question but I can only ask here since I don't know a better place.
So this google colab thing is amazing and wonderfull but there is currently not a way to keep the server itself running without interaction.
Is there a way to do this for a long period of time without any trouble and if there is, is it also possible to physically shut down the tab or your computer to still keep it running? Yes, there is a time limit of about 12 hours that it will give you but I just want to know if there is a way to do this without having your computer on all the time. I'd love to use my phone for it although it's a really old phone that is like from 2012 that doesn't even load half of the sites correctly
Any answers? Thank you so much and have a very nice day!
The runtime session outlives closed tabs. Even if you sign out from your google account and minutes later come back and login again, your notebooks still stays at the same point, since the VM holding the kernel still runs.
Two years ago someone here on stackoverflow said that it would remain for 90 minutes if you close your tab and 12 hours if you don't - Google Colab session timeout.
I don't know if still holds. At least on their FAQ, google does not guarantee anything. In https://research.google.com/colaboratory/faq.html they only say "Virtual machines are deleted when idle for a while, and have a maximum lifetime enforced by the Colab service."
I am starting to try out Google's Colaboratory 🎉 (it is very cool!) -- is it expected with this system that you'd re-install any packages each time you return to the doc / is there a known time-out I should expect?
Yes, this is the expected behavior.
Currently, each user gets assigned a new VM, and that VM is reclaimed when the user is idle for a given period. (That period is currently 90 minutes, but may change in the future.) A single user with multiple notebooks open will all share a single backend VM; no two users will ever be assigned to the same VM.