yaoxufeng / PCL-Proxy-based-Contrastive-Learning-for-Domain-Generalization

MIT License
58 stars 6 forks source link

Question about ProxyPLoss: in-domain negative pair generation #6

Open bhpugongying opened 2 years ago

bhpugongying commented 2 years ago

Hi, i have a question about the in-domain negative pair generation when calculate proxyploss. In th paper, it says only consider in-domain negative pairs, but in the code (losses.py) i think it also considers cross-domain negative pairs. so only in-domain negative pairs generation isn't implemented in the code, is it right?

image

Thanks for your attention.