mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-06 21:52:27 +00:00
fix typos
This commit is contained in:
@@ -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}に設定されました")
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user