Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index out of range for custom dataset. #153

Open
A-d-DASARE opened this issue Aug 3, 2022 · 0 comments
Open

Index out of range for custom dataset. #153

A-d-DASARE opened this issue Aug 3, 2022 · 0 comments

Comments

@A-d-DASARE
Copy link

Traceback (most recent call last):
File "train.py", line 415, in
train(n_gpus, rank, **train_config)
File "train.py", line 257, in train
data_config, n_gpus, batch_size)
File "train.py", line 64, in prepare_dataloaders
**dict((k, v) for k, v in data_config.items()
File "/content/flowtron/data.py", line 75, in init
self.audiopaths_and_text)
File "/content/flowtron/data.py", line 144, in create_speaker_lookup_table
speaker_ids = np.sort(np.unique([x[2] for x in audiopaths_and_text]))
File "/content/flowtron/data.py", line 144, in
speaker_ids = np.sort(np.unique([x[2] for x in audiopaths_and_text]))
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant