Applying softmax function on logins for computing mean IOU

Hi, I have a minor question about computing mean IOU in segmentation task.
Should we apply an activation function on logins before computing mean IOU?
I tried both ways, computing the mean IOU with and without applying a softmax function on logins. The scores that I obtained for Dice Loss as well as Dice score are different.
So, what is the correct one. I want to report my results on a paper and I need to know which one should I rely.

I will appreciate any help.