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

preprocess.py error #8

Open
boboaidalishi opened this issue Nov 22, 2022 · 1 comment
Open

preprocess.py error #8

boboaidalishi opened this issue Nov 22, 2022 · 1 comment

Comments

@boboaidalishi
Copy link

raceback (most recent call last):
File "D:\C\Comprehensive-Tacotron2-main\preprocess.py", line 28, in
main(preprocess_config)
File "D:\C\Comprehensive-Tacotron2-main\preprocess.py", line 13, in main
preprocessor.build_from_path()
File "D:\C\Comprehensive-Tacotron2-main\preprocessor\vctk.py", line 168, in build_from_path
self.divide_speaker_by_gender(self.in_dir), filename="spker_embed_tsne.png"
File "D:\C\Comprehensive-Tacotron2-main\utils\tools.py", line 314, in plot_embedding
data_y = np.array([gender_dict[spk_id] == 'M' for spk_id in embedding_speaker_id], dtype=np.int)
File "D:\C\Comprehensive-Tacotron2-main\utils\tools.py", line 314, in
data_y = np.array([gender_dict[spk_id] == 'M' for spk_id in embedding_speaker_id], dtype=np.int)
KeyError: 'preprocessed_data\VCTK\spker_embed\p225'

@keonlee9420
Copy link
Owner

Pleas refer to #9

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