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 use the pretrain model #7

Open
ankan8145 opened this issue Aug 28, 2023 · 1 comment
Open

How to use the pretrain model #7

ankan8145 opened this issue Aug 28, 2023 · 1 comment

Comments

@ankan8145
Copy link

ankan8145 commented Aug 28, 2023

Can anyone tell me how to use the checkpoint of "ViT-Base/16" model ? and what is mask ratio here mask_ratio=1 means full mask the full or mask_ratio=0 means full mask the full image ?

@SaumyaBhandari
Copy link

mask_ratio=1 means full mask, as the paper mentions that they have used 95% masking, which is termed as 0.95 mask_ratio.

You can look at my closed issue here where I've given the code to seamlessly load the weights from the pretrained model.

Just include the filepath of the checkpoint in args.finetune.

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