如果我断开连接,Google Colab 是否会保留 运行 个用于在安装的驱动器中保存文件的单元格?
Will Google Colab keep running cells for saving files in mounted drive if i disconnect?
我正在训练神经网络,但这需要时间。如果我关闭我的笔记本电脑,网络是否会继续训练并将模型权重保存在驱动器中。
简短回答:几乎可以肯定不会。这取决于你需要多少时间来训练你的神经网络,少于 90 分钟是可以的。
长答案:(解释)
来自 Google Colaboratory FAQ:
How long can notebooks run in Colab?
Notebooks run by connecting to virtual machines that have maximum lifetimes that can be as much as 12 hours. Notebooks will also disconnect from VMs when left idle for too long. Maximum VM lifetime and idle timeout behaviour may vary over time, or based on your usage. This is necessary for Colab to be able to offer computational resources for free.
来自 Clouderizer's Colab FAQ 的详细信息:
Google Colab notebooks have an idle timeout of 90 minutes and absolute timeout of 12 hours. This means, if user does not interact with his Google Colab notebook for more than 90 minutes, its instance is automatically terminated. Also, maximum lifetime of a Colab instance is 12 hours.
要了解如何在遵守 Google Colab 的使用条款 的同时防止 Google Colab 断开连接,请阅读此 Whosebug question。
我正在训练神经网络,但这需要时间。如果我关闭我的笔记本电脑,网络是否会继续训练并将模型权重保存在驱动器中。
简短回答:几乎可以肯定不会。这取决于你需要多少时间来训练你的神经网络,少于 90 分钟是可以的。
长答案:(解释)
来自 Google Colaboratory FAQ:
How long can notebooks run in Colab?
Notebooks run by connecting to virtual machines that have maximum lifetimes that can be as much as 12 hours. Notebooks will also disconnect from VMs when left idle for too long. Maximum VM lifetime and idle timeout behaviour may vary over time, or based on your usage. This is necessary for Colab to be able to offer computational resources for free.
来自 Clouderizer's Colab FAQ 的详细信息:
Google Colab notebooks have an idle timeout of 90 minutes and absolute timeout of 12 hours. This means, if user does not interact with his Google Colab notebook for more than 90 minutes, its instance is automatically terminated. Also, maximum lifetime of a Colab instance is 12 hours.
要了解如何在遵守 Google Colab 的使用条款 的同时防止 Google Colab 断开连接,请阅读此 Whosebug question。