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

使用预训练集生成失败求助 #63

Closed
GoodManWEN opened this issue Aug 29, 2021 · 2 comments
Closed

使用预训练集生成失败求助 #63

GoodManWEN opened this issue Aug 29, 2021 · 2 comments

Comments

@GoodManWEN
Copy link

GoodManWEN commented Aug 29, 2021

想要尝试使用预训练集在本地测试效果,使用gui录音后点击synthesize & vocode生成的声音只有沙沙声。

完整步骤

1\ffmpeg已安装,创建虚拟环境

PS C:\Users\vm\Documents\TEMP> git clone https://github.com/babysor/MockingBird.git
PS C:\Users\vm\Documents\TEMP\MockingBird> python -m venv env
PS C:\Users\vm\Documents\TEMP\MockingBird\env> cd .\Scripts\
PS C:\Users\vm\Documents\TEMP\MockingBird\env\Scripts> .\Activate.ps1
(env) PS C:\Users\vm\Documents\TEMP\MockingBird\env\Scripts> cd ../..
(env) PS C:\Users\vm\Documents\TEMP\MockingBird> pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio===0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
(env) PS C:\Users\vm\Documents\TEMP\MockingBird> pip install -r .\requirements.txt
(env) PS C:\Users\vm\Documents\TEMP\MockingBird> pip install webrtcvad-wheels

2\下载预训练文件,将encoder,synthesizer、vocoder三个文件夹覆盖粘贴至MockingBird

3\运行gui

(env) PS C:\Users\vm\Documents\TEMP\MockingBird> python demo_toolbox.py -d "C:\Users\vm\Documents\TEMP\MockingBird\"
Arguments:
    datasets_root:    C:\Users\vm\Documents\TEMP\MockingBird
    enc_models_dir:   encoder\saved_models
    syn_models_dir:   synthesizer\saved_models
    voc_models_dir:   vocoder\saved_models
    cpu:              False
    seed:             None
    no_mp3_support:   False

之后表现为,录音正常,生成结果只有沙沙声,是哪里错了吗?

@UEhQZXI
Copy link

UEhQZXI commented Aug 30, 2021

#37

试试这个

@GoodManWEN
Copy link
Author

感谢,已经解决。准备关闭issue了,另外能否解释一下出错原因?

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