Skip to content

how is the text_prototype being used? #3

Description

@pridy999

In the code, it seems that u didn't calculate the text_prototype alignment loss. As in the initialize of Contrastive_loss, the text_prototype is setting default as False. (self.loss = losses.contrastive_loss.ContrastiveLoss(
compared_length, nb_random_samples, negative_penalty
))
It made me confusing how is the text_prototype being used?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions