Member-only story
How to leave your AI training running in the background (using screen)
After scouring the web for solutions, I find this way to be the quickest way to allow my training to be ran in the background.
I’ve experimented with cronjobs and supervisor, but for me using ‘screen’ is the most straightforward approach. Well not to mention it takes less than 5mins to setup.
What are Screens
Screen is an application that multiplexes a console to several other processes. Well but then that’s perfect because it’s like leaving many tabs open in the browser and never closing them (kind of). Because I would like to run my training in one screen, leave the screen, exit ssh and come back tomorrow, log back into the screen to see the progress of the training.
Installing Screen
Well mostly, you might already have this on your POSIX system. I found out I have it on my macOS and Linux Ubuntu right out of the box, incase you needed to install it on Linux,
# Debian based
$ sudo apt-get install screen# RedHat based
$ yum install screen
Once that is completed, launch screen by typing
$ screen
You will see the following screen next, just hit enter and you will launch your…