Hi @cschaefer26
After the espeak backend acceleration feature was attached, I downloaded the repository with the latest commit to preprocess a small test dataset (I actually tested a dataset of 10000 audios too which I want to train to make a pretrained model for smaller datasets) and I always have this error. I debugged the "cleaned_texts" array and the array is completely empty and doesn't add any elements while preprocessing. Instead, with the commit before the espeak feature is the opposite, it processes an audio along with its text, adds it to that array, and displays all the phonemiced texts. I've tried many datasets, including in a colab notebook with the current changes from the repository and obviously, it's the same error result. I clarify it in case you have something to do with it.
Here is a log:
280 .wav files found in "C:\Users\LENOVO_User\ForwardTacotron\testdataset"
Using 280 wav files that are indexed in metafile.
+-------------+-----------+--------+------------+-----------+----------------+
| Sample Rate | Bit Depth | Mu Law | Hop Length | CPU Usage | Num Validation |
+-------------+-----------+--------+------------+-----------+----------------+
| 22050 | 9 | True | 256 | 4/8 | 200 |
+-------------+-----------+--------+------------+-----------+----------------+
input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 1/280 texts: []input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 2/280 texts: []input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 3/280 texts: []input text to phonemize() is str but it must be list of str
████████████████ 280/280 texts: []Traceback (most recent call last):
File "preprocess.py", line 150, in
print(f'First val sample: {val_dataset[0][0]}')
IndexError: list index out of range
Hi @cschaefer26
After the espeak backend acceleration feature was attached, I downloaded the repository with the latest commit to preprocess a small test dataset (I actually tested a dataset of 10000 audios too which I want to train to make a pretrained model for smaller datasets) and I always have this error. I debugged the "cleaned_texts" array and the array is completely empty and doesn't add any elements while preprocessing. Instead, with the commit before the espeak feature is the opposite, it processes an audio along with its text, adds it to that array, and displays all the phonemiced texts. I've tried many datasets, including in a colab notebook with the current changes from the repository and obviously, it's the same error result. I clarify it in case you have something to do with it.
Here is a log:
280 .wav files found in "C:\Users\LENOVO_User\ForwardTacotron\testdataset"
Using 280 wav files that are indexed in metafile.
+-------------+-----------+--------+------------+-----------+----------------+
| Sample Rate | Bit Depth | Mu Law | Hop Length | CPU Usage | Num Validation |
+-------------+-----------+--------+------------+-----------+----------------+
| 22050 | 9 | True | 256 | 4/8 | 200 |
+-------------+-----------+--------+------------+-----------+----------------+
input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 1/280 texts: []input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 2/280 texts: []input text to phonemize() is str but it must be list of str
█░░░░░░░░░░░░░░░ 3/280 texts: []input text to phonemize() is str but it must be list of str
████████████████ 280/280 texts: []Traceback (most recent call last):
File "preprocess.py", line 150, in
print(f'First val sample: {val_dataset[0][0]}')
IndexError: list index out of range