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

problem about generating bboxes in intersection area #2

Closed
UcanSee opened this issue Mar 25, 2021 · 2 comments
Closed

problem about generating bboxes in intersection area #2

UcanSee opened this issue Mar 25, 2021 · 2 comments

Comments

@UcanSee
Copy link

UcanSee commented Mar 25, 2021

Thanks for sharing such wonderful work! it's so amazing! Now I am trying to reproduce your work, but I meet some problem about generating bboxes in intersection area. According to your paper, you use some operation similar to RandomResizedCrop to generate two views and compute intersection between these two views, but how to ensure these two views always have overlaps. In addition, I found that even if two views have overlaps, there are some image which can not generate enough bboxes, for example, 10. Is there some other operation to solve this problem? Can you give me some suggestion?

@ricoshin
Copy link
Contributor

First of all, we use a more generous cropping scale in the range of [0.2, 1.0], inducing more frequent overlap between the two views. Despite that, if the two views happen to have no intersection area, they are simply excluded from the mini-batch. Then, in both views, we try to progressively sample boxes that meet the given IoU condition(<0.5) between all the previously sampled ones. If we keep failing for a sufficient number of attempts(= 50), we just stop there and move on to the next pairs. While this heuristic varies the number of boxes pooled per mini-batch, we found that it works empirically well. For other details not described here, please refer to the code that will be released soon. Thank you for your interest! (cc. @prayforher)

@UcanSee
Copy link
Author

UcanSee commented Mar 29, 2021

Thanks for your answers very much, I've got it!

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