How to create a metric miou (common metric in segmentation)

  1. I want to know how to create a metric miou in fast ai
    2.how to apply it in lesson3 camvid segmentation

very appreciate for your reply(●—●)
I am a rookie…

1 Like

could some one help me?

IOU/Dice is already a metric in fastai. Look it up

IOU/Dice is for binary target in fast ai library
How can I modify it so that it can be applied in camvid semantic segmentation?
thanks for your reply!

1 Like

IoU should be Jaccard (for binary segmentation problems). For multiclass segmentation problems there is DiceMulti already implemented in Fast.ai, but I don’t know if it’s equivalent to mIoU (probably not). Anyone that can help to clarify this point?