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

TypeError: pflowTTS.synthesise() got an unexpected keyword argument 'spks' #7

Open
kunibald413 opened this issue Nov 21, 2023 · 2 comments

Comments

@kunibald413
Copy link

to infer on custom model (single speaker), this is called:
python pflow/cli.py --file $INPUT_FILE --checkpoint_path "$CHECKPOINT_PATH" --vocoder "hifigan_univ_v1" --spk $SPEAKERID

it loads custom model and vocoder

[!] Loading custom_model!
[+] custom_model loaded!
[!] Loading hifigan_univ_v1!

then throws this error
TypeError: pflowTTS.synthesise() got an unexpected keyword argument 'spks'

at

  File "/pflow/pflow/cli.py", line 377, in unbatched_synthesis
    output = model.synthesise(

nothing is passed as prompt to pflowTTS.synthesise in the cli.py script. not fully clear what should be passed.
If it's not a quick fix, is there a workaround meanwhile?

thanks for your time

@p0p4k
Copy link
Owner

p0p4k commented Nov 21, 2023

ah i see, the cli.py is supposed to be my last priority, for now you can synthesize on the Jupyter notebook. Sorry for inconvenience.

@p0p4k
Copy link
Owner

p0p4k commented Nov 21, 2023

Also edit the cli.py functions based on synthesis.ipynb would work.

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