Skip to content

learning rate schedule epoch updates at check_val_every_n_epoch #7538

@hazedine

Description

@hazedine

🐛 Bug

The learning rate scheduler does not update every epoch, but rather every check_val_every_n_epoch

Please reproduce using the BoringModel

https://colab.research.google.com/drive/17Q0H6J9gH_Xuhommm-ZNTiOiJ_Z5rG_n?usp=sharing

Expected behavior

The check_val_every_n_epoch has no influence on the learning rate scheduler updates.

Environment

  • CUDA:
    • GPU:
      • Tesla T4
    • available: True
    • version: 10.1
  • Packages:
    • numpy: 1.19.5
    • pyTorch_debug: False
    • pyTorch_version: 1.8.1+cu101
    • pytorch-lightning: 1.3.1
    • tqdm: 4.41.1
  • System:
    • OS: Linux
    • architecture:
      • 64bit
    • processor: x86_64
    • python: 3.7.10
    • version: Proposal for help #1 SMP Tue Apr 20 19:55:43 PDT 2021

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedOpen to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions