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

Use ExtraAdam #11

Open
vict0rsch opened this issue Jan 23, 2020 · 0 comments
Open

Use ExtraAdam #11

vict0rsch opened this issue Jan 23, 2020 · 0 comments
Labels
enhancement New feature or request paper This issue mentions a paper

Comments

@vict0rsch
Copy link
Contributor

vict0rsch commented Jan 23, 2020

code https://github.com/GauthierGidel/Variational-Inequality-GAN/blob/master/optim/extragradient.py

+

def opt_step(opt, step):
    """
    Run an optimizing step ; if using ExtraAdam, there needs to be an extrapolation step every other step
    """
    if step % 2 == 0:
        opt.extrapolation()
    else:
        opt.step()
@vict0rsch vict0rsch added enhancement New feature or request paper This issue mentions a paper labels Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request paper This issue mentions a paper
Projects
None yet
Development

No branches or pull requests

1 participant