Skip to content
Discussion options

You must be logged in to vote

mmdetection/mmdet/core/mask/structures.py

Lines 301 to 303 in ae453fa

guys i found this.

But still don't know how to use it..

def areas(self):
"""See :py:attr:BaseInstanceMasks.areas."""
return self.masks.sum((1, 2))

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ZwwWayne
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AristotleWang
Comment options

@jwyng2000
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants