APE icon indicating copy to clipboard operation
APE copied to clipboard

Where is the "EVA02_CLIP_L_336_psz14to16_s6B.pt"?

Open becauseofAI opened this issue 1 year ago • 4 comments

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

becauseofAI avatar Dec 27 '23 05:12 becauseofAI

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.

lxw919 avatar Dec 27 '23 12:12 lxw919

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.

shenyunhang avatar Dec 28 '23 01:12 shenyunhang

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

becauseofAI avatar Jan 02 '24 06:01 becauseofAI

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.

shenyunhang avatar Jan 02 '24 11:01 shenyunhang