Repository navigation
How to generate pitch_stats.npy file? #4148
|
I'm trying to finetune the model on openslr dataset. I followed all the steps mentioned in the documentation. However, I'm getting many issues. I started resolving them one by one. And i got stuck at this particular error -
I went through the compute_statistics.py and executed the same, assuming that the output file is pitch_stats.npy. Is this assumption, correct? If yes, the fields that are being stored in the dictionary are only mel_min, mel_max, linear_min, linear_max. So, how to address the stats["mean"] issue?
Should we change the names of the keys? If yes, what keys should we change? Also, in addition to compute_statictics.py, should we execute any other files before training using the train_tts.py file? |
Replies: 1 comment 4 replies
|
Could you share the following details:
Where does it say that you should run |


Yes, it creates one
.npyfile with the pitch data for each audio file. It will take some time and can't be sped up by GPU, but only needs to be done once in the beginning. You can set a higher value forprecompute_num_workersto run it on multiple CPU cores.