-
Notifications
You must be signed in to change notification settings - Fork 362
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
Syntax error in train.py ? #12
Comments
I have encounted the same question~ |
try this one, https://pastebin.com/raw/JxsnSFCE |
I updated the source code for Python 3 / TensorFlow 1.13. https://github.com/d4ichi/PassGAN |
I tried and i meet this Traceback (most recent call last): |
Windows 10 64 Bit
Python 3.6.5 64 bit
grabbed all requirements except tensorflor 1.5.0 because pip couldn't find 1.4.1 for some reason
Wanted to train the GAN using the linkedin leak, so using
python train.py --output-dir output --training-data data/in.txt
And it throws me a syntax error:
File "D:\PassGAN\train.py", line 144
print " print "validation set JSD for n={}: {}".format(i+1, true_char_ngram_lms[i].js_with(validation_char_ngram_lms[i]))
Syntax Error: invalid syntax. The error is specified to be at the end of the "" encapsulated string. I have little knowledge of Python as I never got in contact with it, so I can't solve it myself..?
The text was updated successfully, but these errors were encountered: