├── BLIP ├── BLIP.gif ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── cog.yaml ├── configs │ ├── bert_config.json │ ├── caption_coco.yaml │ ├── med_config.json │ ├── nlvr.yaml │ ├── nocaps.yaml │ ├── pretrain.yaml │ ├── retrieval_coco.yaml │ ├── retrieval_flickr.yaml │ ├── retrieval_msrvtt.yaml │ └── vqa.yaml ├── data │ ├── __init__.py │ ├── coco_karpathy_dataset.py │ ├── flickr30k_dataset.py │ ├── nlvr_dataset.py │ ├── nocaps_dataset.py │ ├── pretrain_dataset.py │ ├── utils.py │ ├── video_dataset.py │ └── vqa_dataset.py ├── demo.ipynb ├── eval_nocaps.py ├── eval_retrieval_video.py ├── models │ ├── __init__.py │ ├── blip.py │ ├── blip_itm.py │ ├── blip_nlvr.py │ ├── blip_pretrain.py │ ├── blip_retrieval.py │ ├── blip_vqa.py │ ├── med.py │ ├── nlvr_encoder.py │ ├── vit-Mengcheng的MacBook Air.py │ └── vit.py ├── predict.py ├── pretrain.py ├── requirements.txt ├── train_caption.py ├── train_nlvr.py ├── train_retrieval.py ├── train_vqa.py ├── transform │ └── randaugment.py └── utils.py ├── README.md ├── S-Lab License 1.0_finalized.doc ├── assets ├── results.png └── teaser.jpg ├── clearclip_segmentor.py ├── configs ├── base_config.py ├── cfg_ade20k.py ├── cfg_city_scapes.py ├── cfg_coco_object.py ├── cfg_coco_stuff164k.py ├── cfg_context59.py ├── cfg_context60.py ├── cfg_voc20.py ├── cfg_voc21.py ├── cls_ade20k.txt ├── cls_city_scapes.txt ├── cls_coco_object.txt ├── cls_coco_stuff.txt ├── cls_context59.txt ├── cls_context60.txt ├── cls_voc20.txt ├── cls_voc21.txt └── my_name.txt ├── custom_datasets.py ├── datasets └── cvt_coco_object.py ├── demo.py ├── dist_test.sh ├── eval.py ├── eval_all.py ├── gem ├── __init__.py ├── gem.py ├── gem_utils.py └── gem_wrapper.py ├── images └── horses.jpg ├── open_clip ├── __init__.py ├── big_vision.py ├── bpe_simple_vocab_16e6.txt.gz ├── coca_model.py ├── constants.py ├── factory.py ├── hf_configs.py ├── hf_model.py ├── loss.py ├── model.py ├── model_configs │ ├── EVA01-g-14-plus.json │ ├── EVA01-g-14.json │ ├── EVA02-B-16.json │ ├── EVA02-E-14-plus.json │ ├── EVA02-E-14.json │ ├── EVA02-L-14-336.json │ ├── EVA02-L-14.json │ ├── ViT-B-16-SigLIP-256.json │ ├── ViT-B-16-SigLIP-384.json │ ├── ViT-B-16-SigLIP-512.json │ ├── ViT-B-16-SigLIP-i18n-256.json │ ├── ViT-B-16-SigLIP.json │ ├── ViT-B-16-plus-240.json │ ├── ViT-B-16-plus.json │ ├── ViT-B-16-quickgelu.json │ ├── ViT-B-16.json │ ├── ViT-B-32-256.json │ ├── ViT-B-32-plus-256.json │ ├── ViT-B-32-quickgelu.json │ ├── ViT-B-32.json │ ├── ViT-H-14-378-quickgelu.json │ ├── ViT-H-14-CLIPA-336.json │ ├── ViT-H-14-CLIPA.json │ ├── ViT-H-14-quickgelu.json │ ├── ViT-H-14.json │ ├── ViT-H-16.json │ ├── ViT-L-14-280.json │ ├── ViT-L-14-336.json │ ├── ViT-L-14-CLIPA-336.json │ ├── ViT-L-14-CLIPA.json │ ├── ViT-L-14-quickgelu.json │ ├── ViT-L-14.json │ ├── ViT-L-16-320.json │ ├── ViT-L-16-SigLIP-256.json │ ├── ViT-L-16-SigLIP-384.json │ ├── ViT-L-16.json │ ├── ViT-M-16-alt.json │ ├── ViT-M-16.json │ ├── ViT-M-32-alt.json │ ├── ViT-M-32.json │ ├── ViT-bigG-14-CLIPA-336.json │ ├── ViT-bigG-14-CLIPA.json │ ├── ViT-bigG-14.json │ ├── ViT-e-14.json │ ├── ViT-g-14.json │ ├── coca_ViT-B-32.json │ ├── coca_ViT-L-14.json │ ├── coca_base.json │ └── coca_roberta-ViT-B-32.json ├── modified_resnet.py ├── openai.py ├── pos_embed.py ├── pretrained.py ├── push_to_hf_hub.py ├── timm_model.py ├── tokenizer.py ├── transform.py ├── transformer.py ├── utils.py ├── version.py ├── zero_shot_classifier.py └── zero_shot_metadata.py ├── prompts └── imagenet_template.py ├── requirements.txt └── utils.py /BLIP/BLIP.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/BLIP.gif -------------------------------------------------------------------------------- /BLIP/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/CODEOWNERS -------------------------------------------------------------------------------- /BLIP/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /BLIP/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/LICENSE.txt -------------------------------------------------------------------------------- /BLIP/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/README.md -------------------------------------------------------------------------------- /BLIP/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/SECURITY.md -------------------------------------------------------------------------------- /BLIP/cog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/cog.yaml -------------------------------------------------------------------------------- /BLIP/configs/bert_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/bert_config.json -------------------------------------------------------------------------------- /BLIP/configs/caption_coco.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/caption_coco.yaml -------------------------------------------------------------------------------- /BLIP/configs/med_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/med_config.json -------------------------------------------------------------------------------- /BLIP/configs/nlvr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/nlvr.yaml -------------------------------------------------------------------------------- /BLIP/configs/nocaps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/nocaps.yaml -------------------------------------------------------------------------------- /BLIP/configs/pretrain.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/pretrain.yaml -------------------------------------------------------------------------------- /BLIP/configs/retrieval_coco.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/retrieval_coco.yaml -------------------------------------------------------------------------------- /BLIP/configs/retrieval_flickr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/retrieval_flickr.yaml -------------------------------------------------------------------------------- /BLIP/configs/retrieval_msrvtt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/retrieval_msrvtt.yaml -------------------------------------------------------------------------------- /BLIP/configs/vqa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/configs/vqa.yaml -------------------------------------------------------------------------------- /BLIP/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/__init__.py -------------------------------------------------------------------------------- /BLIP/data/coco_karpathy_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/coco_karpathy_dataset.py -------------------------------------------------------------------------------- /BLIP/data/flickr30k_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/flickr30k_dataset.py -------------------------------------------------------------------------------- /BLIP/data/nlvr_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/nlvr_dataset.py -------------------------------------------------------------------------------- /BLIP/data/nocaps_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/nocaps_dataset.py -------------------------------------------------------------------------------- /BLIP/data/pretrain_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/pretrain_dataset.py -------------------------------------------------------------------------------- /BLIP/data/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/utils.py -------------------------------------------------------------------------------- /BLIP/data/video_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/video_dataset.py -------------------------------------------------------------------------------- /BLIP/data/vqa_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/data/vqa_dataset.py -------------------------------------------------------------------------------- /BLIP/demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/demo.ipynb -------------------------------------------------------------------------------- /BLIP/eval_nocaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/eval_nocaps.py -------------------------------------------------------------------------------- /BLIP/eval_retrieval_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/eval_retrieval_video.py -------------------------------------------------------------------------------- /BLIP/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BLIP/models/blip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip.py -------------------------------------------------------------------------------- /BLIP/models/blip_itm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip_itm.py -------------------------------------------------------------------------------- /BLIP/models/blip_nlvr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip_nlvr.py -------------------------------------------------------------------------------- /BLIP/models/blip_pretrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip_pretrain.py -------------------------------------------------------------------------------- /BLIP/models/blip_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip_retrieval.py -------------------------------------------------------------------------------- /BLIP/models/blip_vqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/blip_vqa.py -------------------------------------------------------------------------------- /BLIP/models/med.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/med.py -------------------------------------------------------------------------------- /BLIP/models/nlvr_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/nlvr_encoder.py -------------------------------------------------------------------------------- /BLIP/models/vit-Mengcheng的MacBook Air.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/vit-Mengcheng的MacBook Air.py -------------------------------------------------------------------------------- /BLIP/models/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/models/vit.py -------------------------------------------------------------------------------- /BLIP/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/predict.py -------------------------------------------------------------------------------- /BLIP/pretrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/pretrain.py -------------------------------------------------------------------------------- /BLIP/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/requirements.txt -------------------------------------------------------------------------------- /BLIP/train_caption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/train_caption.py -------------------------------------------------------------------------------- /BLIP/train_nlvr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/train_nlvr.py -------------------------------------------------------------------------------- /BLIP/train_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/train_retrieval.py -------------------------------------------------------------------------------- /BLIP/train_vqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/train_vqa.py -------------------------------------------------------------------------------- /BLIP/transform/randaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/transform/randaugment.py -------------------------------------------------------------------------------- /BLIP/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/BLIP/utils.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/README.md -------------------------------------------------------------------------------- /S-Lab License 1.0_finalized.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/S-Lab License 1.0_finalized.doc -------------------------------------------------------------------------------- /assets/results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/assets/results.png -------------------------------------------------------------------------------- /assets/teaser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/assets/teaser.jpg -------------------------------------------------------------------------------- /clearclip_segmentor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/clearclip_segmentor.py -------------------------------------------------------------------------------- /configs/base_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/base_config.py -------------------------------------------------------------------------------- /configs/cfg_ade20k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_ade20k.py -------------------------------------------------------------------------------- /configs/cfg_city_scapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_city_scapes.py -------------------------------------------------------------------------------- /configs/cfg_coco_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_coco_object.py -------------------------------------------------------------------------------- /configs/cfg_coco_stuff164k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_coco_stuff164k.py -------------------------------------------------------------------------------- /configs/cfg_context59.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_context59.py -------------------------------------------------------------------------------- /configs/cfg_context60.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_context60.py -------------------------------------------------------------------------------- /configs/cfg_voc20.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_voc20.py -------------------------------------------------------------------------------- /configs/cfg_voc21.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cfg_voc21.py -------------------------------------------------------------------------------- /configs/cls_ade20k.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_ade20k.txt -------------------------------------------------------------------------------- /configs/cls_city_scapes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_city_scapes.txt -------------------------------------------------------------------------------- /configs/cls_coco_object.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_coco_object.txt -------------------------------------------------------------------------------- /configs/cls_coco_stuff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_coco_stuff.txt -------------------------------------------------------------------------------- /configs/cls_context59.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_context59.txt -------------------------------------------------------------------------------- /configs/cls_context60.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_context60.txt -------------------------------------------------------------------------------- /configs/cls_voc20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_voc20.txt -------------------------------------------------------------------------------- /configs/cls_voc21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/cls_voc21.txt -------------------------------------------------------------------------------- /configs/my_name.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/configs/my_name.txt -------------------------------------------------------------------------------- /custom_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/custom_datasets.py -------------------------------------------------------------------------------- /datasets/cvt_coco_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/datasets/cvt_coco_object.py -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/demo.py -------------------------------------------------------------------------------- /dist_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/dist_test.sh -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/eval.py -------------------------------------------------------------------------------- /eval_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/eval_all.py -------------------------------------------------------------------------------- /gem/__init__.py: -------------------------------------------------------------------------------- 1 | from .gem import * 2 | -------------------------------------------------------------------------------- /gem/gem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/gem/gem.py -------------------------------------------------------------------------------- /gem/gem_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/gem/gem_utils.py -------------------------------------------------------------------------------- /gem/gem_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/gem/gem_wrapper.py -------------------------------------------------------------------------------- /images/horses.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/images/horses.jpg -------------------------------------------------------------------------------- /open_clip/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/__init__.py -------------------------------------------------------------------------------- /open_clip/big_vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/big_vision.py -------------------------------------------------------------------------------- /open_clip/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /open_clip/coca_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/coca_model.py -------------------------------------------------------------------------------- /open_clip/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/constants.py -------------------------------------------------------------------------------- /open_clip/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/factory.py -------------------------------------------------------------------------------- /open_clip/hf_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/hf_configs.py -------------------------------------------------------------------------------- /open_clip/hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/hf_model.py -------------------------------------------------------------------------------- /open_clip/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/loss.py -------------------------------------------------------------------------------- /open_clip/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model.py -------------------------------------------------------------------------------- /open_clip/model_configs/EVA01-g-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA01-g-14-plus.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA01-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA01-g-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA02-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA02-B-16.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA02-E-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA02-E-14-plus.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA02-E-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA02-E-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA02-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA02-L-14-336.json -------------------------------------------------------------------------------- /open_clip/model_configs/EVA02-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/EVA02-L-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-SigLIP-512.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-SigLIP-512.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-SigLIP-i18n-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-SigLIP-i18n-256.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-SigLIP.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-SigLIP.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-plus-240.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-plus-240.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-plus.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16-quickgelu.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-16.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-32-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-32-256.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-32-plus-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-32-plus-256.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-32-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-32-quickgelu.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-B-32.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-14-378-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-14-378-quickgelu.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-H-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-H-16.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14-280.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14-280.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14-336.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-16-320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-16-320.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-L-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-L-16.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-M-16-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-M-16-alt.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-M-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-M-16.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-M-32-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-M-32-alt.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-M-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-M-32.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-bigG-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-bigG-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-bigG-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-bigG-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-bigG-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-bigG-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-e-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-e-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/ViT-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/ViT-g-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/coca_ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/coca_ViT-B-32.json -------------------------------------------------------------------------------- /open_clip/model_configs/coca_ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/coca_ViT-L-14.json -------------------------------------------------------------------------------- /open_clip/model_configs/coca_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/coca_base.json -------------------------------------------------------------------------------- /open_clip/model_configs/coca_roberta-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/model_configs/coca_roberta-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip/modified_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/modified_resnet.py -------------------------------------------------------------------------------- /open_clip/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/openai.py -------------------------------------------------------------------------------- /open_clip/pos_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/pos_embed.py -------------------------------------------------------------------------------- /open_clip/pretrained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/pretrained.py -------------------------------------------------------------------------------- /open_clip/push_to_hf_hub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/push_to_hf_hub.py -------------------------------------------------------------------------------- /open_clip/timm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/timm_model.py -------------------------------------------------------------------------------- /open_clip/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/tokenizer.py -------------------------------------------------------------------------------- /open_clip/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/transform.py -------------------------------------------------------------------------------- /open_clip/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/transformer.py -------------------------------------------------------------------------------- /open_clip/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/utils.py -------------------------------------------------------------------------------- /open_clip/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '2.24.0' 2 | -------------------------------------------------------------------------------- /open_clip/zero_shot_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/zero_shot_classifier.py -------------------------------------------------------------------------------- /open_clip/zero_shot_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/open_clip/zero_shot_metadata.py -------------------------------------------------------------------------------- /prompts/imagenet_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/prompts/imagenet_template.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/requirements.txt -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mc-lan/ClearCLIP/HEAD/utils.py --------------------------------------------------------------------------------