Customize the summary of metrics in wandb table #170
Answered
by
GillianGrayson
GillianGrayson
asked this question in
Q&A
-
Hi! Is there an easy way to customize the summary of metrics in wandb table? By default, the summary is set to the last value you logged for each key. Thanks! P.S.: The best template repository for PyTorch! |
Beta Was this translation helpful? Give feedback.
Answered by
GillianGrayson
Sep 3, 2021
Replies: 1 comment 1 reply
-
One possible way : import wandb
...
def on_fit_start(self) -> None:
wandb.define_metric(f"train/loss", summary='min')
wandb.define_metric(f"val/loss", summary='min')
wandb.define_metric(f"test/loss", summary='min')
wandb.define_metric(f"train/acc", summary='max')
wandb.define_metric(f"val/acc", summary='max')
wandb.define_metric(f"test/acc", summary='max') |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ashleve
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One possible way :