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

The global_step update in optimization_gpu.py (line 74-75) is redundant. #24

Closed
xuegsh opened this issue Nov 14, 2020 · 2 comments
Closed

Comments

@xuegsh
Copy link

xuegsh commented Nov 14, 2020

You didn't override the apply_gradients function in class AdamWeightDecayOptimizer, Normally the global step update is done inside of apply_gradients.

@guotong1988
Copy link
Owner

Thank you.

@guotong1988
Copy link
Owner

Fixed.

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

2 participants