You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @aymuos15
that is a good point, we may need to clarify this in our explanations.
As soon as your tell panoptica your input is an instance mask, it treats all equal labels as the same instance. In your case, all three gt and prediction boxes have been assigned 1 and as an instance mask, if every box has the same label 1, it means it is of the same instance.
Hence for calculation, it only sees one instance in both prediction and gt, matches them, yielding the results you posted.
If that is not what you intended, you need to relabel your different instances as different labels. Importantly, if those are unmatched instances, it doesn't even matter what labels they are in prediction or reference (as long as they are different for each instance), because the instance matching module will take care of that.
Yeah, so if you want to separate between them, it sounds to me like your input (both prediction and reference mask) are actually Semantic masks, not instance ones. So if you pass it to panoptica as SemanticPair, it will automatically run connected components performance-optimized on your input to derive the individual instances.
In this example (Using Unmatcged), I get the following result:
Why is it showing only 1 instance in this case? In both pred and ref.
To reproduce: https://colab.research.google.com/drive/1oxmhQSQ8v4HKUID9ugee9vIrnguIRmqE?usp=sharing
The text was updated successfully, but these errors were encountered: