From d1eb3ace3f945499ab251cf4f5a0b38e66808770 Mon Sep 17 00:00:00 2001 From: Maw-Fox Date: Fri, 11 Nov 2022 18:17:29 -0700 Subject: [PATCH] I lied. --- trainer/diffusers_trainer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trainer/diffusers_trainer.py b/trainer/diffusers_trainer.py index d42e9af..b371919 100644 --- a/trainer/diffusers_trainer.py +++ b/trainer/diffusers_trainer.py @@ -159,8 +159,7 @@ class Validation(): def __init__(self, is_skipped: bool, is_extended: bool) -> None: if is_skipped: self.validate = self.__no_op - print("Validation: Skipped") - return + return print("Validation: Skipped") if is_extended: self.validate = self.__extended_validate