ShikunLi / Sel-CL

CVPR 2022: Selective-Supervised Contrastive Learning with Noisy Labels
89 stars 17 forks source link

A problem about the unsupervised mask of mixed images. #5

Open randydkx opened 1 year ago

randydkx commented 1 year ago

@ShikunLi Hi, I find an error in the compute of unsupervised mask of mixed image, here we should let mask2Unsup_batch be the same mask matrix as maskUnsup_batch and mask2Unsup_mem be the same as maskUnsup_mem.

image

Because we passpairwise_comp_batch to function Supervised_ContrastiveLearning_loss and elements in pairwise_comp_batch is positive diagnally.

image