I am implementing the computation of mIoU in semantic segmentation,
and I want to know how is the efficiency when doing computation with Tensor of [w,h] or [1, w*h]?
Because this would help me decide whether I need to tranform the Tensor into a 1-dimension Tensor before I do the mIoU computation.
Any idea or answer will be appreciated!
Thanks in advance!