Rayhane-mamah / Tacotron-2

DeepMind's Tacotron-2 Tensorflow implementation
MIT License
2.27k stars 904 forks source link

Is it possible to do quick and custom evaluation? #519

Open chankl3579 opened 2 years ago

chankl3579 commented 2 years ago

Hello. I am trying to run evaluation mode only multiple times with a fixed set of sentence. May I ask for some advice on how to do so?

Currently I am looking at tacotron/train.py, line 240, evaluation mode is run. But the input for evaluation is the test set randomly chosen by feeder.py. Is it possible to replace with my custom set? And also the test set should include more that one sentence but seems that it only did GLA and save .wav file for 1 sentence? Did I misunderstand anything or how to save all the spectrogram/wav outputs from evaluation mode?

Many thanks.