RGAN icon indicating copy to clipboard operation
RGAN copied to clipboard

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

Open khorshidisamira opened this issue 4 years ago • 1 comments

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?

khorshidisamira avatar Aug 27 '20 14:08 khorshidisamira

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

ASTRO063 avatar Feb 04 '21 09:02 ASTRO063