HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.
MIT License
2.13k stars 381 forks source link

Differences between the URCP paper and code #71

Open nicetomeetu21 opened 1 year ago

nicetomeetu21 commented 1 year ago

https://github.com/HiLab-git/SSL4MIS/blob/ad16872abd672cdcbe1ce387614797baa0a4dc6a/code/train_uncertainty_rectified_pyramid_consistency_2D.py#L165

I noticed a log operation employed before calculating KL divergence. I was confused about it, and it is different from Eq. (4) in either the MIA paper or the MICCAI paper.

Besides, I'm not sure whether the subscripts of Eq. (4) in both paper are wrong, because $PC$ is not mentioned again, and $P{avg}$ is not appear in the formulas.