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

G_sample = model.generator(Z, **generator_settings, reuse=True, c=CG) Syntax error #36

Open
khorshidisamira opened this issue Aug 27, 2020 · 1 comment

Comments

@khorshidisamira
Copy link

khorshidisamira commented Aug 27, 2020

Hello,
I want to start using RGAN, but just in first experiment, I got this error:

python experiment.py --settings_file test
  File "experiment.py", line 62
    G_sample = model.generator(Z, **generator_settings, reuse=True, c=CG)
                                                      ^
SyntaxError: invalid syntax

Any help?

@ASTRO063
Copy link

ASTRO063 commented Feb 4, 2021

G_sample = model.generator(Z, reuse=True, c=CG, **generator_settings)
make the line like above ...as **kwargs must be last in arguments order

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