babysor / babysor/MockingBird

启动报错

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

File "/Users/x/Documents/AudioCreate/MockingBird/web/__init__.py", line 33, in webApp
encoder.load_model(Path("encoder/saved_models/my_run.pt"))
File "/Users/x/Documents/AudioCreate/MockingBird/encoder/inference.py", line 34, in load_model
_model.load_state_dict(checkpoint["model_state"])
File "/Users/x/.conda/envs/MockingBird/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1052, in load_state_dict
self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for SpeakerEncoder:

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at web/__init__.py line 33 and encoder/inference.py line 34, where SpeakerEncoder loads the checkpoint. Reproduce the startup failure and capture the complete load_state_dict error, then verify that encoder/saved_models/my_run.pt matches the expected model; done means startup completes without this loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.