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

How to start inference example? #83

Open
asusdisciple opened this issue Nov 1, 2023 · 1 comment
Open

How to start inference example? #83

asusdisciple opened this issue Nov 1, 2023 · 1 comment

Comments

@asusdisciple
Copy link

asusdisciple commented Nov 1, 2023

When I do:

inference with FreeVC

CUDA_VISIBLE_DEVICES=0 python convert.py --hpfile logs/freevc.json --ptfile checkpoints/freevc.pth --txtpath convert.txt --outdir outputs/freevc

How do I get the freevc.json and freevc.pth checkpoint if I did not do any training before? I downloaded the wavlm and hifigan models. Should i replace those paths with one of that models, because when I do that I get the error:

    hps.data.filter_length // 2 + 1,
AttributeError: 'HParams' object has no attribute 'data'
@sajjadGG
Copy link

You can download the freevc.pth form here
and json file is in the configs

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