run-youngjoo / SC-FEGAN

SC-FEGAN : Face Editing Generative Adversarial Network with User's Sketch and Color (ICCV2019)
Other
3.35k stars 530 forks source link

Traceback (most recent call last): File "demo.py", line 11, in <module> from model import Model File "/home/anbanglee/SC-FEGAN-master/model.py", line 4, in <module> from ops import * File "/home/anbanglee/SC-FEGAN-master/ops.py", line 9 """ ^ SyntaxError: invalid syntax #18

Open jackylee1 opened 5 years ago

jackylee1 commented 5 years ago

Traceback (most recent call last): File "demo.py", line 11, in from model import Model File "/home/anbanglee/SC-FEGAN-master/model.py", line 4, in from ops import * File "/home/anbanglee/SC-FEGAN-master/ops.py", line 9 """ ^ SyntaxError: invalid syntax ? what's wrong ?i use python3

Daleksek commented 5 years ago

I have the same issue

mostafasadeghi97 commented 5 years ago

just delete the three comment lines like this :

@add_arg_scope def gate_conv(x_in, cnum, ksize, stride=1, rate=1, name='conv', padding='SAME', activation='leaky_relu', use_lrn=True,training=True): assert padding in ['SYMMETRIC', 'SAME', 'REFELECT']