ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Periodically Restart Executable Training Option

Open GabHook opened this issue 5 years ago • 3 comments

Would be nice to have a command line training option for restarting the Unity executable after every steps. We are not perfect and our executable currently runs out of memory after like 2 million steps. So it would be nice to have a fresh start of the executable after each steps so I could let the training go overnight without worrying it will crash. Probably it wouldnt be hard to add either.

GabHook avatar Jan 23 '20 15:01 GabHook

Thank you for your comments. We’ve documented your feedback and will prioritize when appropriate.

vincentpierre avatar Jan 23 '20 18:01 vincentpierre

For reference, our internal tracking for the issue : MLA-558

vincentpierre avatar Feb 04 '20 01:02 vincentpierre

While we have not added this feature, we do have a change on main allowing configurable restarts upon environment crashes. https://github.com/Unity-Technologies/ml-agents/pull/5553. Not sure if this fulfills your need but it sounds like it may.

hvpeteet avatar Oct 29 '21 14:10 hvpeteet

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Nov 04 '22 20:11 github-actions[bot]