Hi there, I download this code and adapted them for my semi-supervised segmentation (Pytorch version). And thanks for this genius code you provided!
But I have a question is that I know that mean-teacher model contains two loss, one is for unsupervised loss for paired labeled data and ground-truth, and the other is for contrast loss.
And here is the contrast loss I calculated:
- get the consistency weight by
10 * sigmoid_rampup(epoch, 5) at each epoch
- compute the logits from student and teacher's output
And then I got contrast loss up to thousands and it seems not right. Is it normal or some bug in my code?
Could you give me some advice if you have some idea? Thanks!
Hi there, I download this code and adapted them for my semi-supervised segmentation (Pytorch version). And thanks for this genius code you provided!
But I have a question is that I know that mean-teacher model contains two loss, one is for unsupervised loss for paired labeled data and ground-truth, and the other is for contrast loss.
And here is the contrast loss I calculated:
10 * sigmoid_rampup(epoch, 5)at each epochAnd then I got contrast loss up to thousands and it seems not right. Is it normal or some bug in my code?
Could you give me some advice if you have some idea? Thanks!