Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReduceLROnPlateau #333

Open
eshankn opened this issue Sep 17, 2024 · 0 comments
Open

ReduceLROnPlateau #333

eshankn opened this issue Sep 17, 2024 · 0 comments

Comments

@eshankn
Copy link

eshankn commented Sep 17, 2024

Hello, I would like to use the ReduceLROnPlateau learning rate scheduler for my training. I have also created the relevant scheduler YAML file. However, while performing the step() update, there is an error on line.

I receive a KeyError: 'metrics'. Is there some additional parameter missing when using the ReduceLROnPlateau scheduler? There is not much documentation regarding this nor the other example scripts use this scheduler.

The scheduler YAML file looks like this.

---
lr_schedulers:
  training_lr:
    class: ReduceLROnPlateau
    mode: min
    factor: 0.1
    patience: 5

policies:
  - lr_scheduler:
      instance_name: training_lr
    starting_epoch: 0
    ending_epoch: 200
    frequency: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant