-
Notifications
You must be signed in to change notification settings - Fork 614
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 AdaBelief optimizer #2548
Merged
AakashKumarNain
merged 21 commits into
tensorflow:master
from
juntang-zhuang:add_adabelief
Aug 25, 2021
Merged
Add AdaBelief optimizer #2548
AakashKumarNain
merged 21 commits into
tensorflow:master
from
juntang-zhuang:add_adabelief
Aug 25, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@juntang-zhuang please format the code, and make sure your flake8 and black versions are same as in tf-addons |
juntang-zhuang
commented
Aug 25, 2021
AakashKumarNain
approved these changes
Aug 25, 2021
Thank you for the contribution. This is a good addition to addons |
Thanks for your help! @AakashKumarNain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add AdaBelief in tensorflow_addons, which adapts stepsize according to "belief" in gradient, and achieves good generalization, fast convergence and training stability.
Reference: AdaBelief optimizer: adapting stepsizes by the belief in observed gradients (Juntang Zhuang et al. NeurIPS 2020).
Results: 77.25 (AdaBelief) 77.1 (SGD)
Type of change
Checklist
How Has This Been Tested?
By running a ResNet50 model from google/tensorflow_models benchmark
If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:
*