SCXsunchenxi / TEST

38 stars 4 forks source link

how is the text_prototype being used? #3

Open pridy999 opened 2 months ago

pridy999 commented 2 months ago

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?

EmorZz1G commented 2 months ago

Same question. Have you solved it?