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

KeyError when run prepare_train_data.py #12

Open
Jwaminju opened this issue Nov 9, 2021 · 2 comments
Open

KeyError when run prepare_train_data.py #12

Jwaminju opened this issue Nov 9, 2021 · 2 comments

Comments

@Jwaminju
Copy link

Jwaminju commented Nov 9, 2021

image

Hi, I got an error like this, when run prepare_train_data.py
Is spk2emb has vctk16-train-wav key?

vctk16-train-wav
Traceback (most recent call last):
File "prepare_train_data.py", line 52, in
submeta.append(spk2emb[subdir])
KeyError: 'vctk16-train-wav'

@auspicious3000
Copy link
Owner

No. You can check by printing all the keys.

@Jwaminju
Copy link
Author

Jwaminju commented Nov 9, 2021

Oh, I realized that I had the wrong file dir
image
Now, I got correct key(maybe..) but I same error,,
I put my own dataset to assets/vctk16-train-wav/ dir, with speaker p100.

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

2 participants