Training on Colab takes around 8 hours. We need to keep the session active. Use this snippet to keep the session alive.
function ClickConnect(){
console.log("Clicked on connect button");
document.querySelector("colab-connect-button").click()
}
setInterval(ClickConnect,60000)
colab-connect-button is the button on the upper right that shows RAM and Disk usage.
Training on Colab takes around 8 hours. We need to keep the session active. Use this snippet to keep the session alive.
colab-connect-button
is the button on the upper right that shows RAM and Disk usage.