Skip to content

Commit

Permalink
🔇Constrained TrainingLoopCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Oct 14, 2024
1 parent 158d34e commit 0ec253e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/learn/callbacks/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def before_loop_with_loaders(
return None
loader = train_loader
resumed_results = trainer.get_metrics(loader, trainer.config.valid_portion)
console.log("resumed metrics:", resumed_results)
if self.is_local_rank_0:
console.log("resumed metrics:", resumed_results)

def before_gradient_update(
self,
Expand Down

0 comments on commit 0ec253e

Please sign in to comment.