Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the mask parameter refer to? #2

Closed
Wang-Shuo opened this issue Jan 22, 2019 · 3 comments
Closed

What does the mask parameter refer to? #2

Wang-Shuo opened this issue Jan 22, 2019 · 3 comments

Comments

@Wang-Shuo
Copy link

def calc(self, input, target, mask):

@Wang-Shuo Wang-Shuo changed the title What does the target parameter refer to? What does the mask parameter refer to? Jan 22, 2019
@libuyu
Copy link
Owner

libuyu commented Jan 23, 2019

Some of the candidate boxes are ignored for training such as crowded boxes in COCO. And the mask here means whether this candidate box is used (mask[i,j]=1) or ignored (mask[i,j]=0). It just acts as loss weights.

@Wang-Shuo
Copy link
Author

I see. Thanks a lot.

@milliema
Copy link

May I ask where is the mask (now named as label_weight) calculated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants