@property
def _train_mets(self):
    if getattr(self, 'cancel_train', False):
        return L()
    return (L(self.smooth_loss) + (self.metrics if self.train_metrics else L()))
@property
def _train_mets(self):
    if getattr(self, 'cancel_train', False):
        return L()
    return (L(self.smooth_loss) + (self.metrics if self.train_metrics else L()))