mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +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
|
args.noise_offset = DEFAULT_NOISE_OFFSET
|
||||||
elif args.noise_offset != DEFAULT_NOISE_OFFSET:
|
elif args.noise_offset != DEFAULT_NOISE_OFFSET:
|
||||||
print(
|
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}に設定されました")
|
print(f"noise_offset is set to {args.noise_offset} / noise_offsetが{args.noise_offset}に設定されました")
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class NetworkTrainer:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def cache_text_encoder_outputs_if_needed(
|
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:
|
for t_enc in text_encoders:
|
||||||
t_enc.to(accelerator.device)
|
t_enc.to(accelerator.device)
|
||||||
|
|||||||
Reference in New Issue
Block a user