We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a3dd1 commit c8cad1cCopy full SHA for c8cad1c
flaxdiff/trainer/general_diffusion_trainer.py
@@ -428,6 +428,7 @@ def validation_loop(
428
generate_samples = val_step_fn
429
430
val_ds = iter(val_ds) if val_ds else None
431
+ print(f"Validation loop started for process index {process_index} with {global_device_count} devices.")
432
# Evaluation step
433
try:
434
metrics = {metric.name: [] for metric in self.eval_metrics} if self.eval_metrics else {}
@@ -487,7 +488,7 @@ def validation_loop(
487
488
self.wandb.log({
489
f"val/{key}": value,
490
}, step=current_step)
-
491
+ print(f"Validation metrics for process index {process_index}: {metrics}")
492
493
# Close validation dataset iterator
494
del val_ds
0 commit comments