FreeVC icon indicating copy to clipboard operation
FreeVC copied to clipboard

How to start inference example?

Open asusdisciple opened this issue 2 years ago • 1 comments

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'

asusdisciple avatar Nov 01 '23 09:11 asusdisciple

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

sajjadGG avatar Dec 28 '23 07:12 sajjadGG