Closed xizhedong closed 5 months ago
We followed the dice computation as in SwinUNet (https://github.com/HuCaoFighting/Swin-Unet) and nnFormer (https://github.com/282857341/nnFormer) to ensure a fair comparison. We are aware of the issue in the dice computation in the previous literature (see https://github.com/McGregorWwww/UDTransNet/issues/4). For the purpose of a fair comparison, we have to keep consistency.
nnformer/inference_synapse.pydice计算与swin-unet并不一样,UDTransNet,有了自己的benchmark,且明显高于实际,如果按照swin-unet的计算方式,如果图片背景居多,可能导致dcie出现明显的偏差。
That's absolutely correct, and I agree with that. What I meant (following the same dice computation in SwinUNet and nnFormer) is that for the 2D experiments, we followed the dice computation method from SwinUNet, while for the 3D experiments, we followed the dice computation method from nnFormer. But as I said, that's for the purpose of a fair comparison with the performance reported by previous literature. We're certainly happy to recompute the metrics using a more "rigorous" way of computing Dice.
thanks,你的工作非常好
这个dice计算有点问题吧。 这是开源框架monai计算方式