snap-stanford / orca

[ICLR 2022] Open-World Semi-Supervised Learning
87 stars 12 forks source link

A qusetion about prob2 on bce loss #9

Open BigDunk opened 2 years ago

BigDunk commented 2 years ago

Hello, I have a question that why here it uses the prob2 instead of prob during train function. Look forward to your reply,thanks! pos_prob = prob2[pos_pairs, :] pos_sim = torch.bmm(prob.view(args.batch_size, 1, -1), pos_prob.view(args.batch_size, -1, 1)).squeeze()