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

About the parameters of 'mask_ratio' and 'overlap_mask' #17

Open
wwt123-star opened this issue Jul 21, 2023 · 1 comment
Open

About the parameters of 'mask_ratio' and 'overlap_mask' #17

wwt123-star opened this issue Jul 21, 2023 · 1 comment

Comments

@wwt123-star
Copy link

From the default.yaml we know the default of 'mask_ratio' = 4, but i have no idea why it was set to 4. And what's the influence of 'overlap_mask'=True or False?

@glenn-jocher
Copy link
Member

@wwt123-star the 'mask_ratio' parameter controls the size of the masks applied to the anchors, and the value of 4 is chosen based on empirical observations to achieve a good balance between coverage and accuracy. The 'overlap_mask' parameter, when set to True, allows the masks to overlap, which can improve accuracy by capturing more detailed features but may also increase computation time. When set to False, the masks do not overlap, potentially reducing accuracy but also speeding up computation.

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