fahadshamshad / Clip2Protect

[CVPR 2023] Official repository of paper titled "CLIP2Protect: Protecting Facial Privacy using Text-Guided Makeup via Adversarial Latent Search".
https://fahadshamshad.github.io/Clip2Protect/
96 stars 11 forks source link

Fixed the bug of SyntaxError: positional argument follows keyword argument #11

Closed yuuma002 closed 5 months ago

yuuma002 commented 7 months ago

The previous code will raise the following error.

  File "main.py", line 27
    parser.add_argument('--model', type=str, default='mobile_face', help = 'facenet','irse50','ir152')
                                                                                     ^
SyntaxError: positional argument follows keyword argument

Now the bug is fixed.