sahi
sahi copied to clipboard
whats is NMM and IOS?
In the paper we only utilized standard NMS and IOU. The NMM and IOS will be discussed in a follow-up paper.
For now you can consider NMM as non-maximum merging, in other words, it merges the lower scored box instead of suppressing it as in NMS. It is useful when the model confidence threshold is large (as 0.3 to 0.5) and the predictions are confident. It merges the box predictions, corresponding to the same instance, coming from different slices. Note that NMM used in sahi
is different from OverFeat in the sense that, NMM merges the boxes by taking their union while OverFeat merges the boxes by averaging them.
IOS is basically intersection over smaller region, ie intersection area of two box / area of smaller box. It is used as the match criteria while performing NMS and NMM.
All NMM and NMS implementations can be performed via IOU or IOS match criteria by efficient matrix calculations using the sahi.postprocess
module.
If you have any question regarding the postprocess module of sahi
feel free to ask them under this post.