keonlee9420 / Cross-Speaker-Emotion-Transfer

PyTorch Implementation of ByteDance's Cross-speaker Emotion Transfer Based on Speaker Condition Layer Normalization and Semi-Supervised Training in Text-To-Speech
MIT License
181 stars 26 forks source link

speaker embedding npy file not found #6

Open raikarsagar opened 2 years ago

raikarsagar commented 2 years ago

Hi,

I am facing the following issue while synthesizing using pretrained model.

Removing weight norm... Traceback (most recent call last): File "synthesize.py", line 234, in )) if load_spker_embed else None File "/home/sagar/tts/Cross-Speaker-Emotion-Transfer/venv/lib/python3.7/site-packages/numpy/lib/npyio.py", line 417, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: './preprocessed_data/RAVDESS/spker_embed/Actor_19-spker_embed.npy'

Please suggest any way out. Thanks in advance -Sagar

PS-AI commented 2 years ago

Yes, I'm facing the same problem too. Any help with this will be appreciated.

keonlee9420 commented 2 years ago

Hi guys, thanks for your attention. You have to prepare spker_embed/ first following README.md. But I just shared it here for your convenience, so please check it out. 3

raikarsagar commented 2 years ago

@keonlee9420 Could you please point me to the documentation for preparing spker_embed ? I couldnt find instructions in main branch readme.

keonlee9420 commented 2 years ago

You can get it during preprocessing.