Open
Description
Hi, Im testing DeepLabV3+ for 2 class segmentation task and wanted to change the metric. Accuracy is pretty useless in my scenario, since I'm trying to detect buldings on orthophotomap, and the rest is just background.
But when I try to change metric to IoU (or MeanIoU) I'm welcomed with this ValueError:
I tried looking for the answer on the internet, wasn't successful.
I tried to implement my own IoU like this:
but this sometimes gives values outside of range (0,1), which is bad.
Also I believe somehow y_pred and y_true don't have the same dimensions, which is odd for me:
I might be missing something obvious
Any solutions?
Metadata
Metadata
Assignees
Labels
No labels