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

how to make the masked patches not random #14

Closed
wenhaowang1995 opened this issue May 15, 2023 · 2 comments
Closed

how to make the masked patches not random #14

wenhaowang1995 opened this issue May 15, 2023 · 2 comments

Comments

@wenhaowang1995
Copy link

Hi, is there any possible way to fix the position of masked patches? (for example. make all masked patches together into the middle of the image instead of spreading round the image randomly)

Thank you for your help!

@IcarusWizard
Copy link
Owner

Hi @wenhaowang1995. You can re-write the PatchShuffle class to implement a different masking scheme.

@wenhaowang1995
Copy link
Author

Hi @wenhaowang1995. You can re-write the PatchShuffle class to implement a different masking scheme.

oh, I see, thanks a lot!

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