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

Where is the "EVA02_CLIP_L_336_psz14to16_s6B.pt"? #18

Open
becauseofAI opened this issue Dec 27, 2023 · 4 comments
Open

Where is the "EVA02_CLIP_L_336_psz14to16_s6B.pt"? #18

becauseofAI opened this issue Dec 27, 2023 · 4 comments

Comments

@becauseofAI
Copy link

Is this EVA02_CLIP_L_336_psz14to16_s6B.pt necessary for training, validation, or inference? If so, where is the download link?
thx @shenyunhang

@lxw919
Copy link

lxw919 commented Dec 27, 2023

You can run
git lfs install
git clone https://huggingface.co/QuanSun/EVA-CLIP models/QuanSun/EVA-CLIP/

and lfs need be installed before,the process is a little slow.

@shenyunhang
Copy link
Owner

EVA02_CLIP_L_336_psz14to16_s6B.pt is only used in training.

For validation and inference, the trained-model path should overwrite train.init_checkpoint to initialize the model.

@becauseofAI
Copy link
Author

EVA02_CLIP_L_336_psz14to16_s6B.pt is only used in training.

For validation and inference, the trained-model path should overwrite train.init_checkpoint to initialize the model.

So can you provide its download link? @shenyunhang

@shenyunhang
Copy link
Owner

You can download the original model from here
Then covert it by running:

python3 tools/eva_interpolate_patch_14to16.py --input models/QuanSun/EVA-CLIP/EVA02_CLIP_L_336_psz14_s6B.pt --output models/QuanSun/EVA-CLIP/EVA02_CLIP_L_336_psz14to16_s6B.pt --image_size 336

To prepare other backbones, please follow those steps.

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