nnunet/training/network_training/mynnUNetTrainerV2.py
def on_epoch_end(self):
        """
        do everything and also update visdom
        :return:
        """
        continue_training = super().on_epoch_end()
        if self.usevisdom:
            try:
                self.plot_to_visdom()
                self.plotter.plot_text("Best epoch: %s<br> With eval criterion: %s <br>" % (self.best_epoch_based_on_MA_tr_loss, self.best_val_eval_criterion_MA), plot_name="Best_epoch")
            except:
                print("Unable to connect to visdom.")
        self.plot_all_losses()
        return continue_training

        do everything and also update visdom
        :return:
        
do everything and also update visdom
do everything and also update visdom
def on_epoch_end(self):
        continue_training = super().on_epoch_end()
        if self.usevisdom:
            try:
                self.plot_to_visdom()
                self.plotter.plot_text("Best epoch: %s<br> With eval criterion: %s <br>" % (self.best_epoch_based_on_MA_tr_loss, self.best_val_eval_criterion_MA), plot_name="Best_epoch")
            except:
                print("Unable to connect to visdom.")
        self.plot_all_losses()
        return continue_training
def on_epoch_end ( self ) : continue_training = super ( ) . on_epoch_end ( ) if self . usevisdom : try : self . plot_to_visdom ( ) self . plotter . plot_text ( "Best epoch: %s<br> With eval criterion: %s <br>" % ( self . best_epoch_based_on_MA_tr_loss , self . best_val_eval_criterion_MA ) , plot_name = "Best_epoch" ) except : print ( "Unable to connect to visdom." ) self . plot_all_losses ( ) return continue_training
do everything and also update visdom
do everything and also update visdom
"""
        do everything and also update visdom
        :return:
        """
None
self