Rayhane-mamah / Tacotron-2

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

FileNotFoundError: [Errno 2] No such file or directory: '_' When trying to train Wavenet #185

Open DaniKog opened 6 years ago

DaniKog commented 6 years ago

When I try to train the WaveNet Module it returns FileNotFoundError: [Errno 2] No such file or directory: '_'

I traced it back to the wavenet_vocoder\feeder.py

if self._hparams.train_with_GTA:
    mel_file = meta[2]
else:
    mel_file = meta[1]

If I train with GTA enabled the feeder tries to set the mel_file from meta[2]. Meaning the 3rd column in this file \tacotron_output\gta\map.txt The file looks like this and have nothing filled in the 3rd column. tacotron_output\gta\audio\audio-file.npy|tacotronoutput\gta\mels\mel-file.npy|||11400|38

I forced the feeder to set mel_file = meta[1] and manged to successfully run the test_wavenet_feeder.py, but was wondering why did my \tacotron_output\gta\map.txt didn't had anything filled in meta[2] as I have GTA turned on by default.

peter05010402 commented 6 years ago

could you share your map.txt file, Maybe I could check with my map.txt

gloriouskilka commented 6 years ago

I had this when I was training WaveNet separately and then I realized I didn't set train_with_GTA = False in hparams.py

antontc commented 6 years ago

My problem #184 the same. I don't know how to fix this problem.

xiaoqiang-ok commented 6 years ago

python preprocess.py python wavenet_proprocess.py in file hparams.py,set train_with_GTA False python train.py --model='WaveNet'

sosoliba commented 3 years ago

please can somebody can help ? I have the same issue...