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

Modifiable patch size in pretraining. #6

Open
MarkoHaralovic opened this issue Sep 27, 2024 · 0 comments
Open

Modifiable patch size in pretraining. #6

MarkoHaralovic opened this issue Sep 27, 2024 · 0 comments

Comments

@MarkoHaralovic
Copy link

Thank you for sharing your work!

I tried changing the mask size inside configs/openmixup/pretrain/a2mim/imagenet100/<python_script_name>.py, but I continuously encountered an error. Specifically, I changed mask_patch_size to 8 and model_patch_size to 8 as well, but I received the following error:

RuntimeError: shape '[batch_size, 1, 2, 2]' is invalid for input of size batch_size*batch_size*2

Did you plan to implement the code so that the patch size is configurable?

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

1 participant