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

confusion about implementation of regression module during test time #56

Open
magrenimish opened this issue Apr 7, 2021 · 3 comments
Open

Comments

@magrenimish
Copy link

Hi,
I'm slightly confused as to how the 2 output channels of the classification map are used during test time and how the assignment of positive and negative labels for position (pi,pj) are identified during test time.

  • from what I understand, the classification module returns 2 channels with the probability of the position (pi,pj) belonging to the foreground or the background. Since the classification module uses a cross-entropy loss, the ground-truth labels (1,0) are used for training.
  • the ground-truth bounding box parameters are used to generate the ellipses (E1 and E2) and identify the positive and negative labels for each pixel and the regression is carried out only for (pi,pj) with a positive label
    My question therefore is, how does the network identify the positive and negative labels to carry out regression during test time? Are the pixels with maximum foreground score considered to have positive labels?
@zeduchen
Copy link
Member

zeduchen commented Apr 8, 2021

Hi, in the inference stage, there is no ground truth, and the bounding box predicted by the position with the highest foreground score is used as the target position.

@magrenimish
Copy link
Author

Thank you for the reply!
Similar to the RPN++ proposal selection strategy, do you also multiply the classification score with the temporal penalty and then perform Non Maximum Suppression?

@zeduchen
Copy link
Member

Thank you for the reply!
Similar to the RPN++ proposal selection strategy, do you also multiply the classification score with the temporal penalty and then perform Non Maximum Suppression?

Similar to what you said.

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