(self)
Finish running and exit.
Finish running and exit.
Finish running and exit .
def _end(self):
        """ Finish running and exit. """
        if self.gui:
            self.gui.set_status_text('Training complete.')
            self.gui.end_mode()
            if self._quit_on_end:
                # Quit automatically (for running sequential expts)
                os._exit(1)
def _end ( self ) : if self . gui : self . gui . set_status_text ( 'Training complete.' ) self . gui . end_mode ( ) if self . _quit_on_end : # Quit automatically (for running sequential expts) os . _exit ( 1 )