gitextract_95kbsdu1/ ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── README_ZH.md ├── app.py ├── face_adapter/ │ ├── __init__.py │ ├── face_adapter_v1.py │ ├── face_attention_processor_v1.py │ ├── face_preprocess.py │ ├── utils.py │ └── vit.py ├── face_module/ │ ├── DamoFD/ │ │ └── README.md │ ├── TopoFR/ │ │ ├── GUM.py │ │ ├── README.md │ │ ├── backbones/ │ │ │ ├── __init__.py │ │ │ ├── iresnet.py │ │ │ ├── iresnet2060.py │ │ │ └── mobilefacenet.py │ │ ├── configs/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── glint360k_r100.py │ │ │ ├── glint360k_r200.py │ │ │ ├── glint360k_r50.py │ │ │ ├── ms1mv2_r100.py │ │ │ ├── ms1mv2_r200.py │ │ │ └── ms1mv2_r50.py │ │ ├── dataset.py │ │ ├── docs/ │ │ │ ├── eval.md │ │ │ ├── install.md │ │ │ ├── install_dali.md │ │ │ ├── modelzoo.md │ │ │ ├── prepare_webface42m.md │ │ │ └── speed_benchmark.md │ │ ├── eval/ │ │ │ ├── __init__.py │ │ │ └── verification.py │ │ ├── eval_ijbc_glint360k.py │ │ ├── eval_ijbc_ms1mv2.py │ │ ├── flops.py │ │ ├── inference.py │ │ ├── losses.py │ │ ├── lr_scheduler.py │ │ ├── onnx_helper.py │ │ ├── onnx_ijbc.py │ │ ├── partial_fc.py │ │ ├── persistent_homology.py │ │ ├── requirement.txt │ │ ├── topology.py │ │ ├── torch2onnx.py │ │ ├── train.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── plot.py │ │ ├── utils_callbacks.py │ │ ├── utils_config.py │ │ ├── utils_distributed_sampler.py │ │ └── utils_logging.py │ └── TransFace/ │ ├── FFT.py │ ├── README.md │ ├── backbones/ │ │ ├── __init__.py │ │ ├── iresnet.py │ │ ├── iresnet2060.py │ │ ├── mobilefacenet.py │ │ └── vit.py │ ├── configs/ │ │ ├── __init__.py │ │ ├── base.py │ │ ├── glint360k_vit_s.py │ │ └── ms1mv2_vit_s.py │ ├── dataset.py │ ├── dist.sh │ ├── docs/ │ │ ├── eval.md │ │ ├── install.md │ │ ├── install_dali.md │ │ ├── modelzoo.md │ │ ├── prepare_webface42m.md │ │ └── speed_benchmark.md │ ├── eval/ │ │ ├── __init__.py │ │ └── verification.py │ ├── eval_ijbc.py │ ├── flops.py │ ├── inference.py │ ├── losses.py │ ├── lr_scheduler.py │ ├── onnx_helper.py │ ├── onnx_ijbc.py │ ├── partial_fc_exp.py │ ├── requirement.txt │ ├── run.sh │ ├── torch2onnx.py │ ├── train.py │ └── utils/ │ ├── __init__.py │ ├── plot.py │ ├── utils_callbacks.py │ ├── utils_config.py │ ├── utils_distributed_sampler.py │ └── utils_logging.py ├── facechain/ │ ├── constants.py │ ├── inference_fact.py │ ├── inference_inpaint_fact.py │ ├── merge_lora.py │ └── utils.py ├── install.py ├── main.css ├── more_apps/ │ └── Facechain-SuDe/ │ ├── README.md │ ├── configs/ │ │ ├── autoencoder/ │ │ │ ├── autoencoder_kl_16x16x16.yaml │ │ │ ├── autoencoder_kl_32x32x4.yaml │ │ │ ├── autoencoder_kl_64x64x3.yaml │ │ │ └── autoencoder_kl_8x8x64.yaml │ │ ├── latent-diffusion/ │ │ │ ├── celebahq-ldm-vq-4.yaml │ │ │ ├── cin-ldm-vq-f8.yaml │ │ │ ├── cin256-v2.yaml │ │ │ ├── ffhq-ldm-vq-4.yaml │ │ │ ├── lsun_bedrooms-ldm-vq-4.yaml │ │ │ ├── lsun_churches-ldm-kl-8.yaml │ │ │ ├── txt2img-1p4B-eval.yaml │ │ │ ├── txt2img-1p4B-eval_with_tokens.yaml │ │ │ ├── txt2img-1p4B-finetune.yaml │ │ │ └── txt2img-1p4B-finetune_style.yaml │ │ └── stable-diffusion/ │ │ ├── v1-finetune_unfrozen.yaml │ │ └── v1-inference.yaml │ ├── environment.yaml │ ├── ldm/ │ │ ├── data/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── imagenet.py │ │ │ ├── lsun.py │ │ │ ├── personalized.py │ │ │ └── personalized_style.py │ │ ├── lr_scheduler.py │ │ ├── models/ │ │ │ ├── autoencoder.py │ │ │ └── diffusion/ │ │ │ ├── __init__.py │ │ │ ├── classifier.py │ │ │ ├── ddim.py │ │ │ ├── ddpm.py │ │ │ └── plms.py │ │ ├── modules/ │ │ │ ├── attention.py │ │ │ ├── diffusionmodules/ │ │ │ │ ├── __init__.py │ │ │ │ ├── model.py │ │ │ │ ├── openaimodel.py │ │ │ │ └── util.py │ │ │ ├── distributions/ │ │ │ │ ├── __init__.py │ │ │ │ └── distributions.py │ │ │ ├── ema.py │ │ │ ├── embedding_manager.py │ │ │ ├── encoders/ │ │ │ │ ├── __init__.py │ │ │ │ ├── modules.py │ │ │ │ └── modules_bak.py │ │ │ ├── image_degradation/ │ │ │ │ ├── __init__.py │ │ │ │ ├── bsrgan.py │ │ │ │ ├── bsrgan_light.py │ │ │ │ └── utils_image.py │ │ │ ├── losses/ │ │ │ │ ├── __init__.py │ │ │ │ ├── contperceptual.py │ │ │ │ └── vqperceptual.py │ │ │ └── x_transformer.py │ │ └── util.py │ ├── main.py │ ├── main.sh │ ├── merge_embeddings.py │ ├── scripts/ │ │ ├── download_first_stages.sh │ │ ├── download_models.sh │ │ ├── evaluate_model.py │ │ ├── inpaint.py │ │ ├── latent_imagenet_diffusion.ipynb │ │ ├── sample_diffusion.py │ │ ├── stable_txt2img.py │ │ └── txt2img.py │ └── setup.py ├── run_inference.py ├── run_inference_inpaint.py ├── scripts/ │ └── facechain_sdwebui.py ├── styles/ │ ├── MajicmixRealistic_v6/ │ │ ├── Autumn_populus.json │ │ ├── Bleak_autumn.json │ │ ├── Cartoon.json │ │ ├── Cheongsam.json │ │ ├── Chinese_New_Year.json │ │ ├── Chinese_winter_hanfu.json │ │ ├── Christmas.json │ │ ├── Colorful_rainbow.json │ │ ├── Cool_tones.json │ │ ├── Cowboy.json │ │ ├── Deer_girl.json │ │ ├── Disneyland.json │ │ ├── DreamyOcean.json │ │ ├── Dunhuang.json │ │ ├── Duobaan.json │ │ ├── Embroidery.json │ │ ├── European_fields.json │ │ ├── Fairy_style.json │ │ ├── Fashion_glasses.json │ │ ├── Flame_red_style.json │ │ ├── Flowers.json │ │ ├── Gentleman.json │ │ ├── GuoFeng.json │ │ ├── Hiphop.json │ │ ├── Hong_Kong_night_style.json │ │ ├── India.json │ │ ├── Jacket_in_Snow_Mountain.json │ │ ├── Kimono.json │ │ ├── Li.json │ │ ├── Lolita.json │ │ ├── Luolita.json │ │ ├── Maid.json │ │ ├── Mechnical.json │ │ ├── Men_suit.json │ │ ├── Miaozu.json │ │ ├── Model_style.json │ │ ├── Mongolian.json │ │ ├── Motorcycle_race_style.json │ │ ├── Ocean_Summer_vibe.json │ │ ├── PekingOpera_female_role.json │ │ ├── Polaroid_style.json │ │ ├── Princess_style.json │ │ ├── Rainy_night.json │ │ ├── Redstyle.json │ │ ├── Retro_style.json │ │ ├── Roaming_Astronaut.json │ │ ├── School_uniform.json │ │ ├── Science_fiction.json │ │ ├── Soccer.json │ │ ├── Street_style.json │ │ ├── Tibetan_clothing.json │ │ ├── Traditional_chinese_style.json │ │ ├── Tyndall.json │ │ ├── Underwater.json │ │ ├── Wedding_dress.json │ │ ├── Wedding_dress_2.json │ │ ├── West_cowboy.json │ │ ├── Wild_west.json │ │ ├── Witch.json │ │ ├── Wizard_of_Oz.json │ │ ├── ZangZu.json │ │ └── Zhuang_style.json │ └── leosamsMoonfilm_filmGrain20/ │ ├── Armor.json │ ├── Barbie_Doll.json │ ├── Casual_Lifestyle.json │ ├── Chinese_traditional_gorgeous_suit.json │ ├── Cybernetics_punk.json │ ├── Elegant_Princess.json │ ├── Gown.json │ ├── Hanfu.json │ ├── Innocent_Girl_in_White_Dress.json │ ├── Pixy_Girl.json │ ├── Snow_white.json │ ├── T-shirt.json │ └── Working_suit.json └── train_style/ ├── __init__.py ├── convert_lora.py ├── deepbooru.py ├── demo.py └── train_text_to_image_lora.py