Pytorch-lightning: Viewing validation statistics by epoch (on x-axis) broken in Wandb

Created on 17 Oct 2020  路  3Comments  路  Source: PyTorchLightning/pytorch-lightning

馃悰 Bug

Here's the boring model.

If you want to view the charts in Weights and Biases with epoch on the X-axis, you get a message that there is "no data availible". Viewing with the step/global step on the X-axis still works. See the two images below:

With epoch on x-axis
Screenshot from 2020-10-17 15-46-05

With global_step on x-axis
Screenshot from 2020-10-17 15-45-37

I suspect this is related to the values that PL sends with the logs, for example this is what the CSVLogger produces:
Screenshot from 2020-10-17 15-47-59

For some strange reason, there is no epoch value for validation data - the place that should definitely have it...

This bug is extremely annoying if you are, for example, experimenting with different batch sizes - then just comparing steps is meaningless...

Environment

* CUDA:
    - GPU:
        - Tesla T4
    - available:         True
    - version:           10.1
* Packages:
    - numpy:             1.18.5
    - pyTorch_debug:     False
    - pyTorch_version:   1.6.0+cu101
    - pytorch-lightning: 1.0.2
    - tqdm:              4.41.1
* System:
    - OS:                Linux
    - architecture:
        - 64bit
        - 
    - processor:         x86_64
    - python:            3.6.9
    - version:           #1 SMP Thu Jul 23 08:00:38 PDT 2020

P.S.: Default PL in boring model should be changed to 1.0.2.

bug / fix help wanted

Most helpful comment

I tried, and it does!

All 3 comments

I tried, and it does!

Thanks for reporting and reproducing. I need this too!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

versatran01 picture versatran01  路  3Comments

monney picture monney  路  3Comments

maxime-louis picture maxime-louis  路  3Comments

iakremnev picture iakremnev  路  3Comments

polars05 picture polars05  路  3Comments