Logging multiple scalars to a single wandb chart
During fit() I want to log multiple scalars to a single chart using the wandb logger. I am trying to achieve this with this example code:
self.log('val/top-k', {'1': 0.6, '5': 0.8, '10': 0.9})
On wandb this creates three charts with the headings val/top-k.1 and (...).5 and (...).10 resp.
Am I doing this wrong or do I need to call the wandb logger directly (which I try to avoid to keep the code logger agnostic).
Thanks!
hey @hogru!
can you share some references to how wandb plots multiple charts? I don't think there is a direct API. Personally, I used to log them individually and combine them in a single chart afterward. But if there is an option to do that via its API, then we can look more and think about adding support for it if it's not already there.