├── LICENSE ├── README.md ├── app.py ├── asserts ├── 0.jpg ├── 1.jpg └── logo.jpg ├── infer.py ├── infer.sh ├── metric ├── clip_score.py ├── curricularface │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── common.cpython-310.pyc │ │ ├── model_irse.cpython-310.pyc │ │ └── model_resnet.cpython-310.pyc │ ├── common.py │ ├── model_irse.py │ └── model_resnet.py └── face_sim_fid.py ├── models ├── __pycache__ │ ├── local_facial_extractor.cpython-310.pyc │ ├── pipeline_cogvideox.cpython-310.pyc │ ├── pipeline_consisid.cpython-310.pyc │ ├── pipeline_ingredients.cpython-310.pyc │ ├── transformer_consisid.cpython-310.pyc │ ├── transformer_ingredients.cpython-310.pyc │ └── utils.cpython-310.pyc ├── eva_clip │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── constants.cpython-310.pyc │ │ ├── eva_vit_model.cpython-310.pyc │ │ ├── factory.cpython-310.pyc │ │ ├── hf_configs.cpython-310.pyc │ │ ├── hf_model.cpython-310.pyc │ │ ├── loss.cpython-310.pyc │ │ ├── model.cpython-310.pyc │ │ ├── modified_resnet.cpython-310.pyc │ │ ├── openai.cpython-310.pyc │ │ ├── pretrained.cpython-310.pyc │ │ ├── rope.cpython-310.pyc │ │ ├── timm_model.cpython-310.pyc │ │ ├── tokenizer.cpython-310.pyc │ │ ├── transform.cpython-310.pyc │ │ ├── transformer.cpython-310.pyc │ │ ├── utils.cpython-310.pyc │ │ └── utils_qformer.cpython-310.pyc │ ├── bpe_simple_vocab_16e6.txt.gz │ ├── constants.py │ ├── eva_vit_model.py │ ├── factory.py │ ├── hf_configs.py │ ├── hf_model.py │ ├── loss.py │ ├── model.py │ ├── model_configs │ │ ├── EVA01-CLIP-B-16.json │ │ ├── EVA01-CLIP-g-14-plus.json │ │ ├── EVA01-CLIP-g-14.json │ │ ├── EVA02-CLIP-B-16.json │ │ ├── EVA02-CLIP-L-14-336.json │ │ ├── EVA02-CLIP-L-14.json │ │ ├── EVA02-CLIP-bigE-14-plus.json │ │ └── EVA02-CLIP-bigE-14.json │ ├── modified_resnet.py │ ├── openai.py │ ├── pretrained.py │ ├── rope.py │ ├── timm_model.py │ ├── tokenizer.py │ ├── transform.py │ ├── transformer.py │ ├── utils.py │ └── utils_qformer.py ├── local_facial_extractor.py ├── pipeline_cogvideox.py ├── pipeline_ingredients.py ├── transformer_ingredients.py └── utils.py └── requirements.txt /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/app.py -------------------------------------------------------------------------------- /asserts/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/asserts/0.jpg -------------------------------------------------------------------------------- /asserts/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/asserts/1.jpg -------------------------------------------------------------------------------- /asserts/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/asserts/logo.jpg -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/infer.py -------------------------------------------------------------------------------- /infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/infer.sh -------------------------------------------------------------------------------- /metric/clip_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/clip_score.py -------------------------------------------------------------------------------- /metric/curricularface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/__init__.py -------------------------------------------------------------------------------- /metric/curricularface/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /metric/curricularface/__pycache__/common.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/__pycache__/common.cpython-310.pyc -------------------------------------------------------------------------------- /metric/curricularface/__pycache__/model_irse.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/__pycache__/model_irse.cpython-310.pyc -------------------------------------------------------------------------------- /metric/curricularface/__pycache__/model_resnet.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/__pycache__/model_resnet.cpython-310.pyc -------------------------------------------------------------------------------- /metric/curricularface/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/common.py -------------------------------------------------------------------------------- /metric/curricularface/model_irse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/model_irse.py -------------------------------------------------------------------------------- /metric/curricularface/model_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/curricularface/model_resnet.py -------------------------------------------------------------------------------- /metric/face_sim_fid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/metric/face_sim_fid.py -------------------------------------------------------------------------------- /models/__pycache__/local_facial_extractor.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/local_facial_extractor.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/pipeline_cogvideox.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/pipeline_cogvideox.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/pipeline_consisid.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/pipeline_consisid.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/pipeline_ingredients.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/pipeline_ingredients.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/transformer_consisid.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/transformer_consisid.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/transformer_ingredients.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/transformer_ingredients.cpython-310.pyc -------------------------------------------------------------------------------- /models/__pycache__/utils.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/__pycache__/utils.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__init__.py -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/constants.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/constants.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/eva_vit_model.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/eva_vit_model.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/factory.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/factory.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/hf_configs.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/hf_configs.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/hf_model.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/hf_model.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/loss.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/loss.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/model.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/model.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/modified_resnet.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/modified_resnet.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/openai.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/openai.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/pretrained.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/pretrained.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/rope.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/rope.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/timm_model.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/timm_model.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/tokenizer.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/tokenizer.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/transform.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/transform.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/transformer.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/transformer.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/utils.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/utils.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/__pycache__/utils_qformer.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/__pycache__/utils_qformer.cpython-310.pyc -------------------------------------------------------------------------------- /models/eva_clip/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /models/eva_clip/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/constants.py -------------------------------------------------------------------------------- /models/eva_clip/eva_vit_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/eva_vit_model.py -------------------------------------------------------------------------------- /models/eva_clip/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/factory.py -------------------------------------------------------------------------------- /models/eva_clip/hf_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/hf_configs.py -------------------------------------------------------------------------------- /models/eva_clip/hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/hf_model.py -------------------------------------------------------------------------------- /models/eva_clip/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/loss.py -------------------------------------------------------------------------------- /models/eva_clip/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model.py -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA01-CLIP-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA01-CLIP-B-16.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA01-CLIP-g-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA01-CLIP-g-14-plus.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA01-CLIP-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA01-CLIP-g-14.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA02-CLIP-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA02-CLIP-B-16.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA02-CLIP-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA02-CLIP-L-14-336.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA02-CLIP-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA02-CLIP-L-14.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA02-CLIP-bigE-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA02-CLIP-bigE-14-plus.json -------------------------------------------------------------------------------- /models/eva_clip/model_configs/EVA02-CLIP-bigE-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/model_configs/EVA02-CLIP-bigE-14.json -------------------------------------------------------------------------------- /models/eva_clip/modified_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/modified_resnet.py -------------------------------------------------------------------------------- /models/eva_clip/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/openai.py -------------------------------------------------------------------------------- /models/eva_clip/pretrained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/pretrained.py -------------------------------------------------------------------------------- /models/eva_clip/rope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/rope.py -------------------------------------------------------------------------------- /models/eva_clip/timm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/timm_model.py -------------------------------------------------------------------------------- /models/eva_clip/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/tokenizer.py -------------------------------------------------------------------------------- /models/eva_clip/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/transform.py -------------------------------------------------------------------------------- /models/eva_clip/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/transformer.py -------------------------------------------------------------------------------- /models/eva_clip/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/utils.py -------------------------------------------------------------------------------- /models/eva_clip/utils_qformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/eva_clip/utils_qformer.py -------------------------------------------------------------------------------- /models/local_facial_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/local_facial_extractor.py -------------------------------------------------------------------------------- /models/pipeline_cogvideox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/pipeline_cogvideox.py -------------------------------------------------------------------------------- /models/pipeline_ingredients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/pipeline_ingredients.py -------------------------------------------------------------------------------- /models/transformer_ingredients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/transformer_ingredients.py -------------------------------------------------------------------------------- /models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/models/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feizc/Ingredients/HEAD/requirements.txt --------------------------------------------------------------------------------