returnn.util.train_proc_manager

Start RETURNN training in a subprocess and if it crashes, try to restart it under certain conditions.

returnn.util.train_proc_manager.maybe_start_train_proc_manager(*, config: Config)[source]

Under certain conditions, start the train proc manager.

returnn.util.train_proc_manager.main_proc_manager(*, config: Config)[source]

Start this in the parent.