├── README.md ├── common_utils.py ├── dataset.py ├── ddim_solver.py ├── local_gradio ├── app.py └── style.css ├── open_clip_customized ├── .gitignore ├── CITATION.cff ├── HISTORY.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── docs │ ├── CLIP.png │ ├── Interacting_with_open_clip.ipynb │ ├── Interacting_with_open_coca.ipynb │ ├── LOW_ACC.md │ ├── PRETRAINED.md │ ├── clip_conceptual_captions.md │ ├── clip_loss.png │ ├── clip_recall.png │ ├── clip_val_loss.png │ ├── clip_zeroshot.png │ ├── clipa.md │ ├── clipa_acc_compute.png │ ├── clipa_reduce_image_token.png │ ├── clipa_reduce_text_token.png │ ├── datacomp_models.md │ ├── effective_robustness.png │ ├── inverse_scaling_law.png │ ├── laion2b_clip_zeroshot_b32.png │ ├── laion_clip_zeroshot.png │ ├── laion_clip_zeroshot_b16.png │ ├── laion_clip_zeroshot_b16_plus_240.png │ ├── laion_clip_zeroshot_l14.png │ ├── laion_openai_compare_b32.jpg │ ├── model_profile.csv │ ├── openclip_classification_results.csv │ ├── openclip_multilingual_retrieval_results.csv │ ├── openclip_results.csv │ ├── openclip_retrieval_results.csv │ ├── scaling.png │ └── script_examples │ │ ├── clipa │ │ ├── vit_b16 │ │ │ ├── i50_t16_finetune.sh │ │ │ └── i50_t16_pretrain.sh │ │ └── vit_l16 │ │ │ ├── i17_t16_finetune.sh │ │ │ ├── i17_t16_pretrain.sh │ │ │ ├── i37_t8_finetune.sh │ │ │ └── i37_t8_pretrain.sh │ │ ├── clipav2 │ │ └── vit_h14 │ │ │ ├── i257_t32_finetunex4.sh │ │ │ ├── i50_t8_pretrain.sh │ │ │ └── i577_t32_finetunex1.sh │ │ └── stability_example.sh ├── pytest.ini ├── requirements-test.txt ├── requirements-training.txt ├── requirements.txt ├── scripts │ ├── clipav1_vit_l16_i37_t8.sh │ ├── clipav2_vit_h14_i84_224_336_cl32_gap_datacomp1b.sh │ ├── h14_224_32_finetune.sh │ └── h14_84_8_pretrain.sh ├── setup.py ├── src │ ├── 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 │ │ │ ├── RN101-quickgelu.json │ │ │ ├── RN101.json │ │ │ ├── RN50-quickgelu.json │ │ │ ├── RN50.json │ │ │ ├── RN50x16.json │ │ │ ├── RN50x4.json │ │ │ ├── RN50x64.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-S-16-alt.json │ │ │ ├── ViT-S-16.json │ │ │ ├── ViT-S-32-alt.json │ │ │ ├── ViT-S-32.json │ │ │ ├── ViT-SO400M-14-SigLIP-384.json │ │ │ ├── ViT-SO400M-14-SigLIP.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 │ │ │ ├── convnext_base.json │ │ │ ├── convnext_base_w.json │ │ │ ├── convnext_base_w_320.json │ │ │ ├── convnext_large.json │ │ │ ├── convnext_large_d.json │ │ │ ├── convnext_large_d_320.json │ │ │ ├── convnext_small.json │ │ │ ├── convnext_tiny.json │ │ │ ├── convnext_xlarge.json │ │ │ ├── convnext_xxlarge.json │ │ │ ├── convnext_xxlarge_320.json │ │ │ ├── latent_RN50.json │ │ │ ├── latent_ViT.json │ │ │ ├── mt5-base-ViT-B-32.json │ │ │ ├── mt5-xl-ViT-H-14.json │ │ │ ├── nllb-clip-base-siglip.json │ │ │ ├── nllb-clip-base.json │ │ │ ├── nllb-clip-large-siglip.json │ │ │ ├── nllb-clip-large.json │ │ │ ├── roberta-ViT-B-32.json │ │ │ ├── swin_base_patch4_window7_224.json │ │ │ ├── vit_medium_patch16_gap_256.json │ │ │ ├── vit_relpos_medium_patch16_cls_224.json │ │ │ ├── xlm-roberta-base-ViT-B-32.json │ │ │ └── xlm-roberta-large-ViT-H-14.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 │ └── training │ │ ├── .gitignore │ │ ├── __init__.py │ │ ├── data.py │ │ ├── distributed.py │ │ ├── file_utils.py │ │ ├── logger.py │ │ ├── main.py │ │ ├── params.py │ │ ├── precision.py │ │ ├── profiler.py │ │ ├── scheduler.py │ │ ├── train.py │ │ └── zero_shot.py ├── tests │ ├── test_download_pretrained.py │ ├── test_hf_model.py │ ├── test_inference.py │ ├── test_inference_simple.py │ ├── test_num_shards.py │ ├── test_training_simple.py │ ├── test_wds.py │ └── util_test.py └── tutorials │ └── int8_tutorial.ipynb ├── reward_fn.py ├── train_lcm_distill_lora_sdxl_wds.py └── train_lcm_distill_sd_wds.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/README.md -------------------------------------------------------------------------------- /common_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/common_utils.py -------------------------------------------------------------------------------- /dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/dataset.py -------------------------------------------------------------------------------- /ddim_solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/ddim_solver.py -------------------------------------------------------------------------------- /local_gradio/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/local_gradio/app.py -------------------------------------------------------------------------------- /local_gradio/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/local_gradio/style.css -------------------------------------------------------------------------------- /open_clip_customized/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/.gitignore -------------------------------------------------------------------------------- /open_clip_customized/CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/CITATION.cff -------------------------------------------------------------------------------- /open_clip_customized/HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/HISTORY.md -------------------------------------------------------------------------------- /open_clip_customized/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/LICENSE -------------------------------------------------------------------------------- /open_clip_customized/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/MANIFEST.in -------------------------------------------------------------------------------- /open_clip_customized/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/Makefile -------------------------------------------------------------------------------- /open_clip_customized/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/README.md -------------------------------------------------------------------------------- /open_clip_customized/docs/CLIP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/CLIP.png -------------------------------------------------------------------------------- /open_clip_customized/docs/Interacting_with_open_clip.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/Interacting_with_open_clip.ipynb -------------------------------------------------------------------------------- /open_clip_customized/docs/Interacting_with_open_coca.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/Interacting_with_open_coca.ipynb -------------------------------------------------------------------------------- /open_clip_customized/docs/LOW_ACC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/LOW_ACC.md -------------------------------------------------------------------------------- /open_clip_customized/docs/PRETRAINED.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/PRETRAINED.md -------------------------------------------------------------------------------- /open_clip_customized/docs/clip_conceptual_captions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clip_conceptual_captions.md -------------------------------------------------------------------------------- /open_clip_customized/docs/clip_loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clip_loss.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clip_recall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clip_recall.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clip_val_loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clip_val_loss.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clip_zeroshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clip_zeroshot.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clipa.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clipa.md -------------------------------------------------------------------------------- /open_clip_customized/docs/clipa_acc_compute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clipa_acc_compute.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clipa_reduce_image_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clipa_reduce_image_token.png -------------------------------------------------------------------------------- /open_clip_customized/docs/clipa_reduce_text_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/clipa_reduce_text_token.png -------------------------------------------------------------------------------- /open_clip_customized/docs/datacomp_models.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/datacomp_models.md -------------------------------------------------------------------------------- /open_clip_customized/docs/effective_robustness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/effective_robustness.png -------------------------------------------------------------------------------- /open_clip_customized/docs/inverse_scaling_law.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/inverse_scaling_law.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion2b_clip_zeroshot_b32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion2b_clip_zeroshot_b32.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion_clip_zeroshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion_clip_zeroshot.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion_clip_zeroshot_b16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion_clip_zeroshot_b16.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion_clip_zeroshot_b16_plus_240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion_clip_zeroshot_b16_plus_240.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion_clip_zeroshot_l14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion_clip_zeroshot_l14.png -------------------------------------------------------------------------------- /open_clip_customized/docs/laion_openai_compare_b32.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/laion_openai_compare_b32.jpg -------------------------------------------------------------------------------- /open_clip_customized/docs/model_profile.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/model_profile.csv -------------------------------------------------------------------------------- /open_clip_customized/docs/openclip_classification_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/openclip_classification_results.csv -------------------------------------------------------------------------------- /open_clip_customized/docs/openclip_multilingual_retrieval_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/openclip_multilingual_retrieval_results.csv -------------------------------------------------------------------------------- /open_clip_customized/docs/openclip_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/openclip_results.csv -------------------------------------------------------------------------------- /open_clip_customized/docs/openclip_retrieval_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/openclip_retrieval_results.csv -------------------------------------------------------------------------------- /open_clip_customized/docs/scaling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/scaling.png -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_b16/i50_t16_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_b16/i50_t16_finetune.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_b16/i50_t16_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_b16/i50_t16_pretrain.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_l16/i17_t16_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_l16/i17_t16_finetune.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_l16/i17_t16_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_l16/i17_t16_pretrain.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_l16/i37_t8_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_l16/i37_t8_finetune.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipa/vit_l16/i37_t8_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipa/vit_l16/i37_t8_pretrain.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipav2/vit_h14/i257_t32_finetunex4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipav2/vit_h14/i257_t32_finetunex4.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipav2/vit_h14/i50_t8_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipav2/vit_h14/i50_t8_pretrain.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/clipav2/vit_h14/i577_t32_finetunex1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/clipav2/vit_h14/i577_t32_finetunex1.sh -------------------------------------------------------------------------------- /open_clip_customized/docs/script_examples/stability_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/docs/script_examples/stability_example.sh -------------------------------------------------------------------------------- /open_clip_customized/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/pytest.ini -------------------------------------------------------------------------------- /open_clip_customized/requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/requirements-test.txt -------------------------------------------------------------------------------- /open_clip_customized/requirements-training.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/requirements-training.txt -------------------------------------------------------------------------------- /open_clip_customized/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/requirements.txt -------------------------------------------------------------------------------- /open_clip_customized/scripts/clipav1_vit_l16_i37_t8.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/scripts/clipav1_vit_l16_i37_t8.sh -------------------------------------------------------------------------------- /open_clip_customized/scripts/clipav2_vit_h14_i84_224_336_cl32_gap_datacomp1b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/scripts/clipav2_vit_h14_i84_224_336_cl32_gap_datacomp1b.sh -------------------------------------------------------------------------------- /open_clip_customized/scripts/h14_224_32_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/scripts/h14_224_32_finetune.sh -------------------------------------------------------------------------------- /open_clip_customized/scripts/h14_84_8_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/scripts/h14_84_8_pretrain.sh -------------------------------------------------------------------------------- /open_clip_customized/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/setup.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/__init__.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/big_vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/big_vision.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/coca_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/coca_model.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/constants.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/factory.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/hf_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/hf_configs.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/hf_model.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/loss.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA01-g-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA01-g-14-plus.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA01-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA01-g-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA02-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA02-B-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA02-E-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA02-E-14-plus.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA02-E-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA02-E-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA02-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA02-L-14-336.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/EVA02-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/EVA02-L-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN101-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN101-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN101.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN101.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN50-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN50-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN50.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN50.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN50x16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN50x16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN50x4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN50x4.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/RN50x64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/RN50x64.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-512.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-512.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-i18n-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP-i18n-256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-SigLIP.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-plus-240.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-plus-240.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-plus.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-32-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-32-256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-32-plus-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-32-plus-256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-32-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-32-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-14-378-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-14-378-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-H-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-H-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14-280.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14-280.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14-336.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-16-320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-16-320.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-L-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-L-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-M-16-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-M-16-alt.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-M-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-M-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-M-32-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-M-32-alt.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-M-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-M-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-S-16-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-S-16-alt.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-S-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-S-16.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-S-32-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-S-32-alt.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-S-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-S-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-SO400M-14-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-SO400M-14-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-SO400M-14-SigLIP.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-SO400M-14-SigLIP.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-bigG-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-bigG-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-bigG-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-bigG-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-bigG-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-bigG-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-e-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-e-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/ViT-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/ViT-g-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/coca_ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/coca_ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/coca_ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/coca_ViT-L-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/coca_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/coca_base.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/coca_roberta-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/coca_roberta-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_base.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_base_w.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_base_w.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_base_w_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_base_w_320.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_large.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_large_d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_large_d.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_large_d_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_large_d_320.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_small.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_tiny.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_tiny.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_xlarge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_xlarge.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_xxlarge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_xxlarge.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/convnext_xxlarge_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/convnext_xxlarge_320.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/latent_RN50.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/latent_RN50.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/latent_ViT.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/latent_ViT.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/mt5-base-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/mt5-base-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/mt5-xl-ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/mt5-xl-ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/nllb-clip-base-siglip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/nllb-clip-base-siglip.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/nllb-clip-base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/nllb-clip-base.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/nllb-clip-large-siglip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/nllb-clip-large-siglip.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/nllb-clip-large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/nllb-clip-large.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/roberta-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/roberta-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/swin_base_patch4_window7_224.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/swin_base_patch4_window7_224.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/vit_medium_patch16_gap_256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/vit_medium_patch16_gap_256.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/vit_relpos_medium_patch16_cls_224.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/vit_relpos_medium_patch16_cls_224.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/xlm-roberta-base-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/xlm-roberta-base-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/model_configs/xlm-roberta-large-ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/model_configs/xlm-roberta-large-ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/modified_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/modified_resnet.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/openai.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/pos_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/pos_embed.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/pretrained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/pretrained.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/push_to_hf_hub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/push_to_hf_hub.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/timm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/timm_model.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/tokenizer.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/transform.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/transformer.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/utils.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '2.24.0' 2 | -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/zero_shot_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/zero_shot_classifier.py -------------------------------------------------------------------------------- /open_clip_customized/src/open_clip/zero_shot_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/open_clip/zero_shot_metadata.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/.gitignore: -------------------------------------------------------------------------------- 1 | logs/ 2 | -------------------------------------------------------------------------------- /open_clip_customized/src/training/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /open_clip_customized/src/training/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/data.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/distributed.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/file_utils.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/logger.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/main.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/params.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/precision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/precision.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/profiler.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/scheduler.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/train.py -------------------------------------------------------------------------------- /open_clip_customized/src/training/zero_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/src/training/zero_shot.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_download_pretrained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_download_pretrained.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_hf_model.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_inference.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_inference_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_inference_simple.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_num_shards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_num_shards.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_training_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_training_simple.py -------------------------------------------------------------------------------- /open_clip_customized/tests/test_wds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/test_wds.py -------------------------------------------------------------------------------- /open_clip_customized/tests/util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tests/util_test.py -------------------------------------------------------------------------------- /open_clip_customized/tutorials/int8_tutorial.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/open_clip_customized/tutorials/int8_tutorial.ipynb -------------------------------------------------------------------------------- /reward_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/reward_fn.py -------------------------------------------------------------------------------- /train_lcm_distill_lora_sdxl_wds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/train_lcm_distill_lora_sdxl_wds.py -------------------------------------------------------------------------------- /train_lcm_distill_sd_wds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ji4chenLi/rg-lcd/HEAD/train_lcm_distill_sd_wds.py --------------------------------------------------------------------------------