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

generate.py have the "SyntaxError: invalid syntax" #373

Open
Amforever opened this issue Jan 3, 2019 · 0 comments
Open

generate.py have the "SyntaxError: invalid syntax" #373

Amforever opened this issue Jan 3, 2019 · 0 comments

Comments

@Amforever
Copy link

After training the network for about 700 times, i use generate.py to generate a wav.
python generate.py --wav_out_path=generated.wav --samples 16000 ./logdir/train/2019-01-03T09-10-58/model.ckpt-700 . But there is a SyntaxError in the generate.py as

File "generate.py", line 170
var.name[:-2]: var for var in tf.global_variables()
^
SyntaxError: invalid syntax

HOW CAN I generate a wav.

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

1 participant