Nested Log structure which is visible in the UI

Hi @samdabadei, thank you for raising this as it looks like we need to update the documentation there. We now use the / character for logging nested metrics so this would be done in a flattened dictionary like this:

wandb.log({
    "train/acc" : 0.9,
    "train/loss" : 5.1, 
    "val/acc" : 0.8,
    "val/loss" : 6.7
    })

In the UI this would result in all metrics with the train/ prefix being in the same panel and then all metrics with the val/ being in a separate panel.

Note that there is only one level of nesting available with this so logging a metrics like train/dataset_2/acc would just end up in the train group of panels and wouldn’t be divided into a dataset_2 subgroup.

Let me know if you have any other questions!
Thank you,
Nate