You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tfzhou So, the class 0 is the ignore index and not the background class? I mean, for the background class is applied also the contrastive loss. Right?
#66
Open
zhangyuxuan321 opened this issue
Feb 27, 2023
· 4 comments
@tfzhou So, the class 0 is the ignore index and not the background class? I mean, for the background class is applied also the contrastive loss. Right?
I also have this confusion, and the number 0 also means the background class in my segmentation task. I can't figure out that whether to use it in author's contrastive method.
The text was updated successfully, but these errors were encountered:
Thanks a lot for quick reply! Another question please, 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.
Originally posted by @nysp78 in #60 (comment)
I also have this confusion, and the number 0 also means the background class in my segmentation task. I can't figure out that whether to use it in author's contrastive method.
The text was updated successfully, but these errors were encountered: