sd15-to-diffusers
所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-11-06 07:12:41
上 传 者:
sh-1993
说明: 来自SD或其他版本的脚本,这些脚本采用python格式,可以进行本地或基于服务器的转换。这不是我们的代码,这只是为了ea...
(Scripts from SD and otherwise that are in python that can do local or server based conversions. This is NOT our code, this is just for easier use.)
文件列表:
CODE_OF_CONDUCT.md (5224, 2023-12-28)
CONTRIBUTING.md (261, 2023-12-28)
Converter_SD1_5_V3.ipynb (27200, 2023-12-28)
LICENSE (7048, 2023-12-28)
SECURITY.md (619, 2023-12-28)
converter_sd1_5_v3.py (19158, 2023-12-28)
# **SD 1.5 Model Converter**
**A Colab Notebook To Convert SD 1.5 Checkpoint to Diffusers format**
But a horribly duct taped edition. THIS IS IN ALPHA STAGES, WILL BE PATCHING THE CODE AS I GO ALONG.
Changes:
Patched the conversion, that finally works without needing to edit a python command.
Fixed an error from the original colab that didn't work - added back in Linaqurf's config/dict code.
Added fun, but snarky comments that print out after upload.
KNowing this works on my one it should work on yours.
Future ideas:
- Looking to port PT to safetensors into the same notebook.
- Looking to port inference for testing into the same notebook.
- Looking to figure out how to convert a different vae.
If you're interested in tipping please hit me up: https://ko-fi.com/duskfallcrew
---
RIGHT NOW THE INSTRUCTIONS ARE AS FOLLOWS:
- Install/Clone etc
- Download model - Direct port from Linaqruf.
- Put your model details in.
- DUMP PATH = folder name
- If your downloaded model is safetensors please tick the box.
- Check file browser, if the model/yourmodelhere looks like a diffusers format you're good to go!
- Write Token + Set up your Repo!
- Upload Diffusers!
---
***Patched from*** : https://colab.research.google.com/github/Linaqruf/sdxl-model-converter/blob/main/sdxl_model_converter.ipynb
***Linaqruf @ Github***: https://github.com/Linaqruf
[![](https://dcbadge.vercel.app/api/shield/850007095775723532?style=flat)](https://lookup.guru/850007095775723532) [![ko-fi](https://img.shields.io/badge/Support%20me%20on%20Ko--fi-F16061?logo=ko-fi&logoColor=white&style=flat)](https://ko-fi.com/linaqruf)
**Please use their main scripts for SDXL HERE:**
| Notebook Name | Description | Link |
| --- | --- | --- |
| [Kohya LoRA Trainer XL](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-trainer-XL.ipynb) | LoRA Training | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-trainer-XL.ipynb) |
| [Kohya Trainer XL](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-trainer-XL.ipynb) | Native Training | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-trainer-XL.ipynb) |
SD 1.5 Scripts:
| Notebook Name | Description | Link | V14 |
| --- | --- | --- | --- |
| [Kohya LoRA Dreambooth](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-dreambooth.ipynb) | LoRA Training (Dreambooth method) | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-dreambooth.ipynb) | [![](https://img.shields.io/static/v1?message=Older%20Version&logo=googlecolab&labelColor=5c5c5c&color=e74c3c&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/ff701379c65380c967cd956e4e9e8f6349563878/kohya-LoRA-dreambooth.ipynb) |
| [Kohya LoRA Fine-Tuning](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-finetuner.ipynb) | LoRA Training (Fine-tune method) | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-finetuner.ipynb) | [![](https://img.shields.io/static/v1?message=Older%20Version&logo=googlecolab&labelColor=5c5c5c&color=e74c3c&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/ff701379c65380c967cd956e4e9e8f6349563878/kohya-LoRA-finetuner.ipynb) |
| [Kohya Trainer](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-trainer.ipynb) | Native Training | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-trainer.ipynb) | [![](https://img.shields.io/static/v1?message=Older%20Version&logo=googlecolab&labelColor=5c5c5c&color=e74c3c&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/ff701379c65380c967cd956e4e9e8f6349563878/kohya-trainer.ipynb) |
| [Kohya Dreambooth](https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-dreambooth.ipynb) | Dreambooth Training | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-dreambooth.ipynb) | [![](https://img.shields.io/static/v1?message=Older%20Version&logo=googlecolab&labelColor=5c5c5c&color=e74c3c&label=%20&style=flat)](https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/ff701379c65380c967cd956e4e9e8f6349563878/kohya-dreambooth.ipynb) |
Ahoy! you're looking for our Huggingface backup that is again patched from Linaqruf and others?
| Notebook Name | Description | Link |
| --- | --- | --- |
| [Huggingface Backup](https://colab.research.google.com/github/duskfallcrew/HuggingFace_Backup/blob/main/HuggingFace_Backup.ipynb) | backup checkpoints! | [![](https://img.shields.io/static/v1?message=Open%20in%20Colab&logo=googlecolab&labelColor=5c5c5c&color=0f80c1&label=%20&style=flat)](https://colab.research.google.com/github/duskfallcrew/HuggingFace_Backup/blob/main/HuggingFace_Backup.ipynb)
## Duskfall/ Earth & Dusk Socials
![Discord](https://img.shields.io/discord/1024442483750490222?label=Earth%26Dusk&style=plastic)
| Social Network | Link |
| --- | --- |
|Discord|[Invite](https://discord.gg/5t2kYxt7An)
|CivitAi|[Duskfallcrew](https://civitai.com/user/duskfallcrew/)
|Huggingface|[Earth & Dusk](https://huggingface.co/EarthnDusk)
|Ko-Fi| [Dusk's Kofi](https://ko-fi.com/duskfallcrew/)
近期下载者:
相关文件:
收藏者: