babysor / babysor/MockingBird

无法启动web

Open
#446 5 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

Loaded synthesizer models: 0
Loaded encoder "pretrained.pt" trained to step 1594501
Building Wave-RNN
Trainable Parameters: 4.481M
Loading model weights at vocoder\saved_models\pretrained\pretrained.pt
Traceback (most recent call last):
File "C:\Users\98212\MockingBird\web.py", line 6, in
app = webApp()
File "C:\Users\98212\MockingBird\web\__init__.py", line 35, in webApp
gan_vocoder.load_model(Path("vocoder/saved_models/pretrained/g_hifigan.pt"))
TypeError: load_model() missing 1 required positional argument: 'config_fpath'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running web.py and inspect web/__init__.py around line 35, where g_hifigan.pt is passed to gan_vocoder.load_model. Check the load_model signature and how its config path should be supplied, then verify that the web application starts without this TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.