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

Question about inference_hf.py #34

Open
RookieJunChen opened this issue Oct 5, 2023 · 1 comment
Open

Question about inference_hf.py #34

RookieJunChen opened this issue Oct 5, 2023 · 1 comment

Comments

@RookieJunChen
Copy link

I noticed that you updated the inference_hf.py file in your tango repository. May I kindly ask how it differs from the inference.py file?

@deepanwayx
Copy link
Collaborator

The inferece_hf.py will compute the evaluation metrics (reported in the paper) from the checkpoints we uploaded in huggingface. For each text prompt, only one audio sample will be generated.

The inferece.py has additional functionality to generate multiple audio samples for each text prompt and then re-ranking them according to CLAP scores.

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