Tensorflow-SegNet
Tensorflow-SegNet copied to clipboard
What is IU?
In model.py what is this line doing exactly?
iu = np.diag(hist) / ((hist.sum(1) + hist.sum(0)) - np.diag(hist))
It computed Intersection over Union. (IoU)
@tkuanlun350 in your code ur calculating the IOU using histogram, is it advisable to use histogram over the boundary area overlap. because with you testing i am getting accuracy of 92% and mean IOU 0.74 but when i test using the boundary region overlapping i get an accuracy of 50% and mean IOU 0.23. Can you pls share you thoughts on this