Skip to content

Question about inference_hf.py #34

Description

@RookieJunChen

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?

Activity

  1. deepanwayx commented on Oct 5, 2023

    @deepanwayx
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions