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

Questions regarding the influence of background classes #2

Closed
TonyLianLong opened this issue Mar 21, 2020 · 2 comments
Closed

Questions regarding the influence of background classes #2

TonyLianLong opened this issue Mar 21, 2020 · 2 comments

Comments

@TonyLianLong
Copy link

TonyLianLong commented Mar 21, 2020

Hi @tztztztztz ,

I'm wondering how you get the SCORE_THRESH_TEST as 0.0001 (the code is here:

). It seems that the parameter is much smaller than the standard/default parameter, which is 0.05. Is it by experimentation and tuning? If I'm correct, this is a hard threshold and the only way to differentiate background and foreground classes. Is this correct, or there are other places which also filter out predictions?

In addition, another question that I have is that, given that you train rare classes with gradient from the background class, as described in the formulation of EQL, wouldn't the background gradient discourage the prediction of rare classes?

Thank you!

@TonyLianLong
Copy link
Author

From the log attached on the main page, it seems like a lot of classes, such as beachball, have only 1 image. In this case, would not the background EQL have much larger impact than the foreground (we only have gradient for foreground once an epoch)?

@tztztztztz
Copy link
Owner

  1. The SCORE_THRESH_TEST is tuned by experiments. The original paper has report it in Table 3 (a). The value is the same as that in LVIS baseline config.


    This implementation only changes the loss function. The rest should be exactly the same as Mask RCNN (no extra post-processing), so there is no other place which filters out predictions.

  2. EQL only cares about the competition between foreground classes. Yes, the massive background gradients could be a problem for some rare classes, but it's not our focus in this paper.

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

2 participants