You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When evolving a network on a machine, and using close to 100% of cpu capacity, it would be nice to have a way to pause and later resume the evolve() function. Otherwise, a machine can become unresponsive for other tasks.
Not sure how best to do this, or even if this functionality should/could exist in carrot. Is there a way to do this cleanly via node? pm2?
The text was updated successfully, but these errors were encountered:
I think this is a very interesting idea that makes sense, off the top of my head I'd imagine that supporting a CLI listening for a keyboard interrupt or something could work but I'd have to look into how to go about it. @GavinRay97 would you have any ideas about how something like this could work?
You could wrap the evolve() loop in an if(shouldContinue) or while(shouldContinue), and then set up a toggle on shouldContinue that can be triggered in the browser by invoking it through the console or programmatically (whether that be UI or otherwise), and in the CLI by intercepting keypress on some key to trigger it
When evolving a network on a machine, and using close to 100% of cpu capacity, it would be nice to have a way to pause and later resume the evolve() function. Otherwise, a machine can become unresponsive for other tasks.
Not sure how best to do this, or even if this functionality should/could exist in carrot. Is there a way to do this cleanly via node? pm2?
The text was updated successfully, but these errors were encountered: