Closed skywolf829 closed 7 months ago
Handled with a thread. When training starts, a thread is started that will continue to do train steps. When a stop signal is received, the thread will cut its while loop and join, ending training at that iteration. Training can be resumed simply by starting again, which will start another thread on the train function.
A button will be clicked on frontend to begin training, or pause/play if training already started (#4).
Requirements
Extra
Reset training? Reinitializes optimizer, go to iteration 0, but keeps model the same?