mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
Remove Validating... print to fix output layout
This commit is contained in:
@@ -1389,8 +1389,6 @@ class NetworkTrainer:
|
|||||||
and global_step % args.validate_every_n_steps == 0
|
and global_step % args.validate_every_n_steps == 0
|
||||||
)
|
)
|
||||||
if accelerator.sync_gradients and validation_steps > 0 and should_validate_step:
|
if accelerator.sync_gradients and validation_steps > 0 and should_validate_step:
|
||||||
accelerator.print("Validating バリデーション処理...")
|
|
||||||
|
|
||||||
val_progress_bar = tqdm(
|
val_progress_bar = tqdm(
|
||||||
range(validation_steps), smoothing=0,
|
range(validation_steps), smoothing=0,
|
||||||
disable=not accelerator.is_local_main_process,
|
disable=not accelerator.is_local_main_process,
|
||||||
@@ -1450,7 +1448,6 @@ class NetworkTrainer:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if should_validate_epoch and len(val_dataloader) > 0:
|
if should_validate_epoch and len(val_dataloader) > 0:
|
||||||
accelerator.print("Validating バリデーション処理...")
|
|
||||||
val_progress_bar = tqdm(
|
val_progress_bar = tqdm(
|
||||||
range(validation_steps), smoothing=0,
|
range(validation_steps), smoothing=0,
|
||||||
disable=not accelerator.is_local_main_process,
|
disable=not accelerator.is_local_main_process,
|
||||||
|
|||||||
Reference in New Issue
Block a user