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

Optimizer not defined #24

Closed
HapeMask opened this issue Jul 3, 2018 · 1 comment
Closed

Optimizer not defined #24

HapeMask opened this issue Jul 3, 2018 · 1 comment

Comments

@HapeMask
Copy link

HapeMask commented Jul 3, 2018

self.optimizer = optimizer

I get a NameError at the line above trying to use FP16_Optimizer. Replacing this with self.optimizer = init_optimizer fixes the issue, is that correct?

@mcarilli
Copy link
Contributor

mcarilli commented Jul 3, 2018

Of course, I missed that in the latest PR. Should be fixed now.

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