HobbitLong / SupContrast

PyTorch implementation of "Supervised Contrastive Learning" (and SimCLR incidentally)
BSD 2-Clause "Simplified" License
2.98k stars 525 forks source link

Using SupContrast loss for non-image application #121

Open mossishahi opened 1 year ago

mossishahi commented 1 year ago

Hey

I am about to use the SupConLoss for my specific application: As I am embedding some graphs and would like to make the embeddings of similar graphs to get more similar, taking advantage of this loss might be helpful. but I have faced some problems:

Are these assumptions right?

appreciate

meiling-fdu commented 1 year ago

hello, have you solved this problem?