train_tacotron.py giving error.
When I am training train_tacotron.py it is giving this error:
Using device: cpu
Initialising Tacotron Model...
Trainable Parameters: 11.088M
Restoring from latest checkpoint...
Loading latest weights: /content/drive/My Drive/WaveRNN/checkpoints/ljspeech_lsa_smooth_attention.tacotron/latest_weights.pyt
Loading latest optimizer state: /content/drive/My Drive/WaveRNN/checkpoints/ljspeech_lsa_smooth_attention.tacotron/latest_optim.pyt
<utils.paths.Paths object at 0x7fbce6e350f0>
+----------------+------------+---------------+------------------+
| Steps with r=7 | Batch Size | Learning Rate | Outputs/Step (r) |
+----------------+------------+---------------+------------------+
| 10k Steps | 32 | 0.001 | 7 |
+----------------+------------+---------------+------------------+
error:
Traceback (most recent call last):
File "/content/drive/My Drive/WaveRNN/train_tacotron.py", line 202, in
Probably bad path to your dataset because it is trying to read empty file. Double check you dataset and options.
I have this same issue, did you manage to fix it?
@Covac I think my path is good, python preprocess.py generated the data without issue.
Turns out I was getting this issue because my input size was too small. If your input size is less than a certain number, I think it was 96 or 128 or so, then batch_size or something becomes 0, causing this issue. Just make sure you have enough audio files.