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

Lookahead init does not call super init although it inherits from torch.Optimizer #349

Open
chenkins opened this issue Aug 9, 2021 · 1 comment

Comments

@chenkins
Copy link
Contributor

chenkins commented Aug 9, 2021

When used with torch lightning:

AttributeError: 'Lookahead' object has no attribute 'defaults'
chenkins pushed a commit to chenkins/pytorch-optimizer that referenced this issue Aug 9, 2021
chenkins pushed a commit to chenkins/pytorch-optimizer that referenced this issue Aug 9, 2021
chenkins pushed a commit to chenkins/pytorch-optimizer that referenced this issue Aug 9, 2021
jettify pushed a commit that referenced this issue Oct 2, 2021
Co-authored-by: Christian Eichenberger <christian.eichenberger@iarai.ac.at>
@zouruotong
Copy link

Have you solevd this question?

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