├── .github └── workflows │ └── typos.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── XTI_hijack.py ├── _typos.toml ├── bitsandbytes_windows ├── cextension.py ├── libbitsandbytes_cpu.dll ├── libbitsandbytes_cuda116.dll └── main.py ├── docs ├── config_README-en.md ├── fine_tune_README-en.md ├── gen_img_README-en.md ├── train_README-en.md ├── train_db_README-en.md ├── train_network_README-en.md └── train_ti_README-en.md ├── fine_tune.py ├── finetune ├── blip │ ├── blip.py │ ├── med.py │ ├── med_config.json │ └── vit.py ├── clean_captions_and_tags.py ├── hypernetwork_nai.py ├── make_captions.py ├── make_captions_by_git.py ├── merge_captions_to_metadata.py ├── merge_dd_tags_to_metadata.py ├── prepare_buckets_latents.py └── tag_images_by_wd14_tagger.py ├── gen_img_diffusers.py ├── library ├── __init__.py ├── config_util.py ├── custom_train_functions.py ├── huggingface_util.py ├── lpw_stable_diffusion.py ├── model_util.py ├── slicing_vae.py ├── train_util.py └── utils.py ├── networks ├── check_lora_weights.py ├── dylora.py ├── extract_lora_from_dylora.py ├── extract_lora_from_models.py ├── lora.py ├── lora_interrogator.py ├── merge_lora.py ├── merge_lora_old.py ├── resize_lora.py └── svd_merge_lora.py ├── requirements.txt ├── setup.py ├── tools ├── canny.py ├── convert_diffusers20_original_sd.py ├── detect_face_rotate.py ├── latent_upscaler.py ├── original_control_net.py └── resize_images_to_resolution.py ├── train_db.py ├── train_network.py ├── train_textual_inversion.py └── train_textual_inversion_XTI.py /.github/workflows/typos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/.github/workflows/typos.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/README.md -------------------------------------------------------------------------------- /XTI_hijack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/XTI_hijack.py -------------------------------------------------------------------------------- /_typos.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/_typos.toml -------------------------------------------------------------------------------- /bitsandbytes_windows/cextension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/bitsandbytes_windows/cextension.py -------------------------------------------------------------------------------- /bitsandbytes_windows/libbitsandbytes_cpu.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/bitsandbytes_windows/libbitsandbytes_cpu.dll -------------------------------------------------------------------------------- /bitsandbytes_windows/libbitsandbytes_cuda116.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/bitsandbytes_windows/libbitsandbytes_cuda116.dll -------------------------------------------------------------------------------- /bitsandbytes_windows/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/bitsandbytes_windows/main.py -------------------------------------------------------------------------------- /docs/config_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/config_README-en.md -------------------------------------------------------------------------------- /docs/fine_tune_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/fine_tune_README-en.md -------------------------------------------------------------------------------- /docs/gen_img_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/gen_img_README-en.md -------------------------------------------------------------------------------- /docs/train_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/train_README-en.md -------------------------------------------------------------------------------- /docs/train_db_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/train_db_README-en.md -------------------------------------------------------------------------------- /docs/train_network_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/train_network_README-en.md -------------------------------------------------------------------------------- /docs/train_ti_README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/docs/train_ti_README-en.md -------------------------------------------------------------------------------- /fine_tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/fine_tune.py -------------------------------------------------------------------------------- /finetune/blip/blip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/blip/blip.py -------------------------------------------------------------------------------- /finetune/blip/med.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/blip/med.py -------------------------------------------------------------------------------- /finetune/blip/med_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/blip/med_config.json -------------------------------------------------------------------------------- /finetune/blip/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/blip/vit.py -------------------------------------------------------------------------------- /finetune/clean_captions_and_tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/clean_captions_and_tags.py -------------------------------------------------------------------------------- /finetune/hypernetwork_nai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/hypernetwork_nai.py -------------------------------------------------------------------------------- /finetune/make_captions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/make_captions.py -------------------------------------------------------------------------------- /finetune/make_captions_by_git.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/make_captions_by_git.py -------------------------------------------------------------------------------- /finetune/merge_captions_to_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/merge_captions_to_metadata.py -------------------------------------------------------------------------------- /finetune/merge_dd_tags_to_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/merge_dd_tags_to_metadata.py -------------------------------------------------------------------------------- /finetune/prepare_buckets_latents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/prepare_buckets_latents.py -------------------------------------------------------------------------------- /finetune/tag_images_by_wd14_tagger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/finetune/tag_images_by_wd14_tagger.py -------------------------------------------------------------------------------- /gen_img_diffusers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/gen_img_diffusers.py -------------------------------------------------------------------------------- /library/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /library/config_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/config_util.py -------------------------------------------------------------------------------- /library/custom_train_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/custom_train_functions.py -------------------------------------------------------------------------------- /library/huggingface_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/huggingface_util.py -------------------------------------------------------------------------------- /library/lpw_stable_diffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/lpw_stable_diffusion.py -------------------------------------------------------------------------------- /library/model_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/model_util.py -------------------------------------------------------------------------------- /library/slicing_vae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/slicing_vae.py -------------------------------------------------------------------------------- /library/train_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/train_util.py -------------------------------------------------------------------------------- /library/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/library/utils.py -------------------------------------------------------------------------------- /networks/check_lora_weights.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/check_lora_weights.py -------------------------------------------------------------------------------- /networks/dylora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/dylora.py -------------------------------------------------------------------------------- /networks/extract_lora_from_dylora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/extract_lora_from_dylora.py -------------------------------------------------------------------------------- /networks/extract_lora_from_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/extract_lora_from_models.py -------------------------------------------------------------------------------- /networks/lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/lora.py -------------------------------------------------------------------------------- /networks/lora_interrogator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/lora_interrogator.py -------------------------------------------------------------------------------- /networks/merge_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/merge_lora.py -------------------------------------------------------------------------------- /networks/merge_lora_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/merge_lora_old.py -------------------------------------------------------------------------------- /networks/resize_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/resize_lora.py -------------------------------------------------------------------------------- /networks/svd_merge_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/networks/svd_merge_lora.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/setup.py -------------------------------------------------------------------------------- /tools/canny.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/canny.py -------------------------------------------------------------------------------- /tools/convert_diffusers20_original_sd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/convert_diffusers20_original_sd.py -------------------------------------------------------------------------------- /tools/detect_face_rotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/detect_face_rotate.py -------------------------------------------------------------------------------- /tools/latent_upscaler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/latent_upscaler.py -------------------------------------------------------------------------------- /tools/original_control_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/original_control_net.py -------------------------------------------------------------------------------- /tools/resize_images_to_resolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/tools/resize_images_to_resolution.py -------------------------------------------------------------------------------- /train_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/train_db.py -------------------------------------------------------------------------------- /train_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/train_network.py -------------------------------------------------------------------------------- /train_textual_inversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/train_textual_inversion.py -------------------------------------------------------------------------------- /train_textual_inversion_XTI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkstorm2150/sd-scripts/HEAD/train_textual_inversion_XTI.py --------------------------------------------------------------------------------