RuntimeError: Error(s) in loading state_dict for SpeakerEncoder: Missing key(s) in state_dict
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Summary[问题简述(一句话)]**
点击合成,之后报错,我使用python3.10版本也有这个问题
Click on synthesis and report an error afterwards,I also have this issue when using Python version 3.10
**Env & To Reproduce[复现与环境]**
使用conda环境
pip --version
pip 22.3.1 from C:\Users\Administrator.DESKTOP-I3PGE92\.conda\envs\python37\lib\site-packages\pip (python 3.7)
python --version
Python 3.7.16
**Screenshots[截图(如有)]**

Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the SpeakerEncoder state_dict loading path and reproduce synthesis in the reported conda environments using Python 3.7 or 3.10. The fix is complete when the speaker encoder loads successfully and synthesis no longer reports missing state_dict keys.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100