syang1993 / gst-tacotron

A tensorflow implementation of the "Style Tokens: Unsupervised Style Modeling, Control and Transfer in End-to-End Speech Synthesis"
368 stars 110 forks source link

Fix local variable reference error in eval.py #9

Closed jsonko closed 6 years ago

jsonko commented 6 years ago

If we do not specify 'reference_audio' param when use eval.py, 'alignment_path' is referenced before assignment. This make execution error during running script eval.py.

I assign 'alignment_path' if 'reference_audio' is note specified.