Min loss using Weave panel

I logged loss in my run. I would like to compare runs by min loss. I found this feature request, which suggests using a Weave panel with:

runs.map((row) => row.history["loss"].min)

This works when I add the panel on the run page (i.e. /<team>/<project>/runs/<run id>). However, when I add the panel on the project page (i.e. /<team>/<project>), all runs show an empty value.

Hello Szymon!

If you want to compare runs by min loss in the project page, I would recommend making a bar chart panel by going to Add panelBar chart → set the Metric to training/loss.min.

Does this answer your question?

Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

That only works if you set the metric aggregation to min, e.g.:

wandb.define_metric("training/loss", summary="min")

I did not do that in my run, and I was hoping I could use Weave to perform the aggregation for me.

You can add a new column and use row.run.history["loss"].min

Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.