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

Add scheduler reduce on plateau #140

Merged
merged 5 commits into from
Dec 12, 2023

Conversation

SvenVw
Copy link
Contributor

@SvenVw SvenVw commented Dec 8, 2023

Hi there, I recently came across a small hiccup while using the luz package (kudos on the great work! 😃). It seems that when attempting to employ the reduce_on_plateau learning rate scheduler, an exception is triggered due to the luz_callback_lr_scheduler not factoring in the current_loss for specific schedulers.
This issue bears a resemblance to a similar one I encountered in the tabnet package, mlverse/tabnet#120). I've crafted a corresponding solution and submitted this pull request to solve this bug.
Please let me know if there's anything else I can provide or do to support this pull request.

@dfalbel
Copy link
Member

dfalbel commented Dec 12, 2023

Thank you @SvenVw

@dfalbel dfalbel merged commit 28f6e3b into mlverse:main Dec 12, 2023
3 of 7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants