How do I log a list of values?
less than a minute
These examples show logging losses a couple of different ways using wandb.log()
.
wandb.log({f"losses/loss-{ii}": loss for ii,
loss in enumerate(losses)})
# Converts losses to a histogram
wandb.log({"losses": wandb.Histogram(losses)})
For more, see the documentation on logging.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.