diff --git a/library/sdxl_train_util.py b/library/sdxl_train_util.py index e10488c0..0eaee4eb 100644 --- a/library/sdxl_train_util.py +++ b/library/sdxl_train_util.py @@ -375,7 +375,7 @@ def verify_sdxl_training_args(args: argparse.Namespace): args.noise_offset = DEFAULT_NOISE_OFFSET elif args.noise_offset != DEFAULT_NOISE_OFFSET: print( - f"Waring: SDXL has been trained with noise_offset={DEFAULT_NOISE_OFFSET} / SDXLはnoise_offset={DEFAULT_NOISE_OFFSET}で学習されています" + f"Warning: SDXL has been trained with noise_offset={DEFAULT_NOISE_OFFSET} / SDXLはnoise_offset={DEFAULT_NOISE_OFFSET}で学習されています" ) print(f"noise_offset is set to {args.noise_offset} / noise_offsetが{args.noise_offset}に設定されました") diff --git a/train_network.py b/train_network.py index 2bb94b1e..1a3c19e2 100644 --- a/train_network.py +++ b/train_network.py @@ -98,7 +98,7 @@ class NetworkTrainer: return False def cache_text_encoder_outputs_if_needed( - self, args, accelerator, uner, vae, tokenizers, text_encoders, data_loader, weight_dtype + self, args, accelerator, unet, vae, tokenizers, text_encoders, data_loader, weight_dtype ): for t_enc in text_encoders: t_enc.to(accelerator.device)