-
Notifications
You must be signed in to change notification settings - Fork 14
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 with respect to the negative samples. #4
Comments
also, I found a serious problem in the code, that there seem to be no negative samples involved in the MIL training stage, since we already did the bounding boxes suppression in the region proposal network training stage and you add a "keep_only_positive_boxes" function to filter out the negative predictions (which means the IOU intersection with gt bbox is larger before the bounding boxes are fed into the mask head), then when you wanna separate the positive and negative samples during MIL training through IOU with ground truth bounding boxes, then it will not work, and I experimentally test the code on COCO2017, it seems like all the proposals are positive. Could you please check on this issue? @chengchunhsu |
Hi d12306, Thank you for asking. First, the function "keep_only_positive_boxes" does filter out the negative proposals. Next, we sampled positive and negative bags from the positive proposals. Finally, we do not limit the sampling ratio of the number of produced positive and negative bags in the released code. The ratio seems not to affect the performance so much. Please let me know if you have any further questions. Best, |
@chengchunhsu , thank you so much for answering.
So the function |
Hi, @chengchunhsu , thanks for your implementation, Actually, I have a concern for computing the MIL loss for the negative samples. As said in the original paper, the negative samples are samples with its number equal to that of the positive samples. However, in the code implementation, there is no such balance mechanism,
also, I am concerned about the way that the negative samples are sampled. It seems like they are sampled from the negative proposals who have a low IOU with the ground truth bbox, don't some of the proposals have a higher overlap with the pixels inside the bbox (positive samples)?
Thanks,
The text was updated successfully, but these errors were encountered: