Issue
How do I keep my ML code running in the background in Anaconda Jupyter notebook even if my PC goes to sleep? Is there a way? Note: I do not want to change my sleep settings to sleep never.
Solution
I do not think that is possible! The training should be suspended when the machine is in sleep. It will resume the calculations seamlessly right after the machine awakes.
While this is the generic behavior and you do not like it, other options can be thought of depending on how are you running the Jupyter notebook, in local? Then which operating systems? behavior in mac os is different from ubuntu when sleep. In mac you can use caffeinate python ...
to keep the machine from sleeping till this script runs.
Another thing is, is it possible to just do just "display sleep" in mac os. Then the background process keeps running. Hope it helps.
Answered By - Arka Mallick
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.