And if you use a .py file instead of a .ipynb file (jupyter notebook), and inside this .py file you print the results to test the operation of your code.
To convert from .ipynb to .py file you can use this command:
'jupyter nbconvert --to script example.ipynb'
Now, you can work with a python script instead a jupyter notebook file, this will make things easier.
In your script write prints() in the stages you think necessary in order that you can see it in Tmux terminal. So you can kill your training whenever you want (ctr+c) or not, Tmux can save the session if you want, just tape 'ctr-b + d' to detach from de session
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…