Skip to main content
When you visualize metrics against an X-axis other than Step, expect to see fewer data points. You must log metrics at the same Step to keep them synchronized. W&B only samples metrics logged at the same Step when it interpolates between samples. To keep related metrics aligned on the same Step, bundle them into a single log() call. For example, instead of:
Use a single call:
To manually control the step parameter, synchronize metrics in the code:
Make sure the step value remains the same in both log() calls so that the metrics log under the same step and sample together. The step value must increase monotonically in each call. Otherwise, W&B ignores the step value.
Experiments Metrics