megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

question about contrastive loss #73

Open zzzjoey opened 1 year ago

zzzjoey commented 1 year ago

Hello, thanks for your excellent work. I try to use contrastive learning in revelant object detection tasks (e.g. semi-supervised object detection), and I write my contrastive loss code by referering your implementation. I find that the value of contrastive loss in my task is not descending, which is always floating around a value. Have you or everyone encountered similar situation and how did you solve it? Furthermore, could you please tell me that how does your contrastive loss converge?

cyyhundred commented 5 months ago

i encountered the same question,have you solved the problem? my contrastive loss fluctuates around 8.5