Skip to content

how is the text_prototype being used? #3

@pridy999

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?

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