tango icon indicating copy to clipboard operation
tango copied to clipboard

Question about inference_hf.py

Open RookieJunChen opened this issue 2 years ago • 1 comments

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?

RookieJunChen avatar Oct 05 '23 07:10 RookieJunChen

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.

deepanwayx avatar Oct 05 '23 08:10 deepanwayx