AutoPST icon indicating copy to clipboard operation
AutoPST copied to clipboard

KeyError when run prepare_train_data.py

Open Jwaminju opened this issue 4 years ago • 2 comments

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'

Jwaminju avatar Nov 09 '21 21:11 Jwaminju

No. You can check by printing all the keys.

auspicious3000 avatar Nov 09 '21 21:11 auspicious3000

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.

Jwaminju avatar Nov 09 '21 22:11 Jwaminju