tfzhou / ContrastiveSeg

ICCV2021 (Oral) - Exploring Cross-Image Pixel Contrast for Semantic Segmentation
MIT License
668 stars 88 forks source link

Semi-Hard Example Sampling implementation #59

Open nysp78 opened 2 years ago

nysp78 commented 2 years ago

Hello,

I would like to ask if there is available the implementation of sampling hard positive/negatives pixel for the computation of the contrastive loss, because I only found the implementation of hard anchors sampling.

Thanks

zhangyuxuan321 commented 1 year ago

I also have this question, have you solved it?

nysp78 commented 1 year ago

No, in this repo the implementation of sampling hard positives/negatives does not exist

zhangyuxuan321 commented 1 year ago

s

Thanks a lot for quick reply! Have you try to implement it by yourself?