File size: 15,967 Bytes
caf5c1c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
---
license: mit
datasets:
- CyberHarem/kotohime_touhou
pipeline_tag: text-to-image
tags:
- art
- not-for-all-audiences
---
# Lora of kotohime/ことひめ/小兎姫 (Touhou)
## What Is This?
This is the LoRA model of waifu kotohime/ことひめ/小兎姫 (Touhou).
## How Is It Trained?
* This model is trained with [HCP-Diffusion](https://github.com/7eu7d7/HCP-Diffusion).
* The [auto-training framework](https://github.com/deepghs/cyberharem) is maintained by [DeepGHS Team](https://huggingface.co/deepghs).
* The base model used for training is [deepghs/animefull-latest](https://huggingface.co/deepghs/animefull-latest).
* Dataset used for training is the `stage3-p480-800` in [CyberHarem/kotohime_touhou](https://huggingface.co/datasets/CyberHarem/kotohime_touhou), which contains 142 images.
* Batch size is 4, resolution is 720x720, clustering into 5 buckets.
* Batch size for regularization dataset is 16, resolution is 720x720, clustering into 20 buckets.
* Trained for 1440 steps, 40 checkpoints were saved and evaluated.
* **Trigger word is `kotohime_touhou`.**
* Pruned core tags for this waifu are `long_hair, red_hair, red_eyes, bow, hair_bow`. You can add them to the prompt when some features of waifu (e.g. hair color) are not stable.
## How to Use It?
### If You Are Using A1111 WebUI v1.7+
**Just use it like the classic LoRA**. The LoRA we provided are bundled with the embedding file.
### If You Are Using A1111 WebUI v1.6 or Lower
After downloading the pt and safetensors files for the specified step, you need to use them simultaneously. The pt file will be used as an embedding, while the safetensors file will be loaded for Lora.
For example, if you want to use the model from step 1080, you need to download [`1080/kotohime_touhou.pt`](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1080/kotohime_touhou.pt) as the embedding and [`1080/kotohime_touhou.safetensors`](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1080/kotohime_touhou.safetensors) for loading Lora. By using both files together, you can generate images for the desired characters.
## Which Step Should I Use?
We selected 5 good steps for you to choose. The best one is step 1080.
1560 images (1.54 GiB) were generated for auto-testing.
![Metrics Plot](metrics_plot.png)
The base model used for generating preview images is [Meina/MeinaMix_V11](https://huggingface.co/Meina/MeinaMix_V11).
Here are the preview of the recommended steps:
| Step | Epoch | CCIP | AI Corrupt | Bikini Plus | Score | Download | pattern_0_0 | pattern_0_1 | pattern_0_2 | pattern_1 | portrait_0 | portrait_1 | portrait_2 | full_body_0 | full_body_1 | profile_0 | profile_1 | free_0 | free_1 | shorts | maid_0 | maid_1 | miko | yukata | suit | china | bikini_0 | bikini_1 | bikini_2 | sit | squat | kneel | jump | crossed_arms | angry | smile | cry | grin | n_lie_0 | n_lie_1 | n_stand_0 | n_stand_1 | n_stand_2 | n_sex_0 | n_sex_1 |
|-------:|--------:|:----------|:-------------|:--------------|:----------|:----------------------------------------------------------------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:--------------------------------|:------------------------------------|:--------------------------------|:----------------------------------|:----------------------------------------|:----------------------------------------|:----------------------------------------|:------------------------------|:----------------------------------|:----------------------------------|:--------------------------------|:------------------------------------------------|:----------------------------------|:----------------------------------|:------------------------------|:--------------------------------|:--------------------------------------|:--------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:--------------------------------------|:--------------------------------------|
| 1080 | 31 | **0.543** | 0.920 | 0.851 | **0.910** | [Download](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1080/kotohime_touhou.zip) | ![pattern_0_0](1080/previews/pattern_0_0.png) | ![pattern_0_1](1080/previews/pattern_0_1.png) | ![pattern_0_2](1080/previews/pattern_0_2.png) | ![pattern_1](1080/previews/pattern_1.png) | ![portrait_0](1080/previews/portrait_0.png) | ![portrait_1](1080/previews/portrait_1.png) | ![portrait_2](1080/previews/portrait_2.png) | ![full_body_0](1080/previews/full_body_0.png) | ![full_body_1](1080/previews/full_body_1.png) | ![profile_0](1080/previews/profile_0.png) | ![profile_1](1080/previews/profile_1.png) | ![free_0](1080/previews/free_0.png) | ![free_1](1080/previews/free_1.png) | ![shorts](1080/previews/shorts.png) | ![maid_0](1080/previews/maid_0.png) | ![maid_1](1080/previews/maid_1.png) | ![miko](1080/previews/miko.png) | ![yukata](1080/previews/yukata.png) | ![suit](1080/previews/suit.png) | ![china](1080/previews/china.png) | ![bikini_0](1080/previews/bikini_0.png) | ![bikini_1](1080/previews/bikini_1.png) | ![bikini_2](1080/previews/bikini_2.png) | ![sit](1080/previews/sit.png) | ![squat](1080/previews/squat.png) | ![kneel](1080/previews/kneel.png) | ![jump](1080/previews/jump.png) | ![crossed_arms](1080/previews/crossed_arms.png) | ![angry](1080/previews/angry.png) | ![smile](1080/previews/smile.png) | ![cry](1080/previews/cry.png) | ![grin](1080/previews/grin.png) | ![n_lie_0](1080/previews/n_lie_0.png) | ![n_lie_1](1080/previews/n_lie_1.png) | ![n_stand_0](1080/previews/n_stand_0.png) | ![n_stand_1](1080/previews/n_stand_1.png) | ![n_stand_2](1080/previews/n_stand_2.png) | ![n_sex_0](1080/previews/n_sex_0.png) | ![n_sex_1](1080/previews/n_sex_1.png) |
| 972 | 28 | 0.500 | 0.904 | 0.848 | 0.855 | [Download](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/972/kotohime_touhou.zip) | ![pattern_0_0](972/previews/pattern_0_0.png) | ![pattern_0_1](972/previews/pattern_0_1.png) | ![pattern_0_2](972/previews/pattern_0_2.png) | ![pattern_1](972/previews/pattern_1.png) | ![portrait_0](972/previews/portrait_0.png) | ![portrait_1](972/previews/portrait_1.png) | ![portrait_2](972/previews/portrait_2.png) | ![full_body_0](972/previews/full_body_0.png) | ![full_body_1](972/previews/full_body_1.png) | ![profile_0](972/previews/profile_0.png) | ![profile_1](972/previews/profile_1.png) | ![free_0](972/previews/free_0.png) | ![free_1](972/previews/free_1.png) | ![shorts](972/previews/shorts.png) | ![maid_0](972/previews/maid_0.png) | ![maid_1](972/previews/maid_1.png) | ![miko](972/previews/miko.png) | ![yukata](972/previews/yukata.png) | ![suit](972/previews/suit.png) | ![china](972/previews/china.png) | ![bikini_0](972/previews/bikini_0.png) | ![bikini_1](972/previews/bikini_1.png) | ![bikini_2](972/previews/bikini_2.png) | ![sit](972/previews/sit.png) | ![squat](972/previews/squat.png) | ![kneel](972/previews/kneel.png) | ![jump](972/previews/jump.png) | ![crossed_arms](972/previews/crossed_arms.png) | ![angry](972/previews/angry.png) | ![smile](972/previews/smile.png) | ![cry](972/previews/cry.png) | ![grin](972/previews/grin.png) | ![n_lie_0](972/previews/n_lie_0.png) | ![n_lie_1](972/previews/n_lie_1.png) | ![n_stand_0](972/previews/n_stand_0.png) | ![n_stand_1](972/previews/n_stand_1.png) | ![n_stand_2](972/previews/n_stand_2.png) | ![n_sex_0](972/previews/n_sex_0.png) | ![n_sex_1](972/previews/n_sex_1.png) |
| 1152 | 33 | 0.466 | **0.934** | 0.855 | 0.838 | [Download](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1152/kotohime_touhou.zip) | ![pattern_0_0](1152/previews/pattern_0_0.png) | ![pattern_0_1](1152/previews/pattern_0_1.png) | ![pattern_0_2](1152/previews/pattern_0_2.png) | ![pattern_1](1152/previews/pattern_1.png) | ![portrait_0](1152/previews/portrait_0.png) | ![portrait_1](1152/previews/portrait_1.png) | ![portrait_2](1152/previews/portrait_2.png) | ![full_body_0](1152/previews/full_body_0.png) | ![full_body_1](1152/previews/full_body_1.png) | ![profile_0](1152/previews/profile_0.png) | ![profile_1](1152/previews/profile_1.png) | ![free_0](1152/previews/free_0.png) | ![free_1](1152/previews/free_1.png) | ![shorts](1152/previews/shorts.png) | ![maid_0](1152/previews/maid_0.png) | ![maid_1](1152/previews/maid_1.png) | ![miko](1152/previews/miko.png) | ![yukata](1152/previews/yukata.png) | ![suit](1152/previews/suit.png) | ![china](1152/previews/china.png) | ![bikini_0](1152/previews/bikini_0.png) | ![bikini_1](1152/previews/bikini_1.png) | ![bikini_2](1152/previews/bikini_2.png) | ![sit](1152/previews/sit.png) | ![squat](1152/previews/squat.png) | ![kneel](1152/previews/kneel.png) | ![jump](1152/previews/jump.png) | ![crossed_arms](1152/previews/crossed_arms.png) | ![angry](1152/previews/angry.png) | ![smile](1152/previews/smile.png) | ![cry](1152/previews/cry.png) | ![grin](1152/previews/grin.png) | ![n_lie_0](1152/previews/n_lie_0.png) | ![n_lie_1](1152/previews/n_lie_1.png) | ![n_stand_0](1152/previews/n_stand_0.png) | ![n_stand_1](1152/previews/n_stand_1.png) | ![n_stand_2](1152/previews/n_stand_2.png) | ![n_sex_0](1152/previews/n_sex_0.png) | ![n_sex_1](1152/previews/n_sex_1.png) |
| 1188 | 34 | 0.425 | 0.904 | 0.855 | 0.792 | [Download](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1188/kotohime_touhou.zip) | ![pattern_0_0](1188/previews/pattern_0_0.png) | ![pattern_0_1](1188/previews/pattern_0_1.png) | ![pattern_0_2](1188/previews/pattern_0_2.png) | ![pattern_1](1188/previews/pattern_1.png) | ![portrait_0](1188/previews/portrait_0.png) | ![portrait_1](1188/previews/portrait_1.png) | ![portrait_2](1188/previews/portrait_2.png) | ![full_body_0](1188/previews/full_body_0.png) | ![full_body_1](1188/previews/full_body_1.png) | ![profile_0](1188/previews/profile_0.png) | ![profile_1](1188/previews/profile_1.png) | ![free_0](1188/previews/free_0.png) | ![free_1](1188/previews/free_1.png) | ![shorts](1188/previews/shorts.png) | ![maid_0](1188/previews/maid_0.png) | ![maid_1](1188/previews/maid_1.png) | ![miko](1188/previews/miko.png) | ![yukata](1188/previews/yukata.png) | ![suit](1188/previews/suit.png) | ![china](1188/previews/china.png) | ![bikini_0](1188/previews/bikini_0.png) | ![bikini_1](1188/previews/bikini_1.png) | ![bikini_2](1188/previews/bikini_2.png) | ![sit](1188/previews/sit.png) | ![squat](1188/previews/squat.png) | ![kneel](1188/previews/kneel.png) | ![jump](1188/previews/jump.png) | ![crossed_arms](1188/previews/crossed_arms.png) | ![angry](1188/previews/angry.png) | ![smile](1188/previews/smile.png) | ![cry](1188/previews/cry.png) | ![grin](1188/previews/grin.png) | ![n_lie_0](1188/previews/n_lie_0.png) | ![n_lie_1](1188/previews/n_lie_1.png) | ![n_stand_0](1188/previews/n_stand_0.png) | ![n_stand_1](1188/previews/n_stand_1.png) | ![n_stand_2](1188/previews/n_stand_2.png) | ![n_sex_0](1188/previews/n_sex_0.png) | ![n_sex_1](1188/previews/n_sex_1.png) |
| 1296 | 37 | 0.414 | 0.909 | **0.855** | 0.781 | [Download](https://huggingface.co/CyberHarem/kotohime_touhou/resolve/main/1296/kotohime_touhou.zip) | ![pattern_0_0](1296/previews/pattern_0_0.png) | ![pattern_0_1](1296/previews/pattern_0_1.png) | ![pattern_0_2](1296/previews/pattern_0_2.png) | ![pattern_1](1296/previews/pattern_1.png) | ![portrait_0](1296/previews/portrait_0.png) | ![portrait_1](1296/previews/portrait_1.png) | ![portrait_2](1296/previews/portrait_2.png) | ![full_body_0](1296/previews/full_body_0.png) | ![full_body_1](1296/previews/full_body_1.png) | ![profile_0](1296/previews/profile_0.png) | ![profile_1](1296/previews/profile_1.png) | ![free_0](1296/previews/free_0.png) | ![free_1](1296/previews/free_1.png) | ![shorts](1296/previews/shorts.png) | ![maid_0](1296/previews/maid_0.png) | ![maid_1](1296/previews/maid_1.png) | ![miko](1296/previews/miko.png) | ![yukata](1296/previews/yukata.png) | ![suit](1296/previews/suit.png) | ![china](1296/previews/china.png) | ![bikini_0](1296/previews/bikini_0.png) | ![bikini_1](1296/previews/bikini_1.png) | ![bikini_2](1296/previews/bikini_2.png) | ![sit](1296/previews/sit.png) | ![squat](1296/previews/squat.png) | ![kneel](1296/previews/kneel.png) | ![jump](1296/previews/jump.png) | ![crossed_arms](1296/previews/crossed_arms.png) | ![angry](1296/previews/angry.png) | ![smile](1296/previews/smile.png) | ![cry](1296/previews/cry.png) | ![grin](1296/previews/grin.png) | ![n_lie_0](1296/previews/n_lie_0.png) | ![n_lie_1](1296/previews/n_lie_1.png) | ![n_stand_0](1296/previews/n_stand_0.png) | ![n_stand_1](1296/previews/n_stand_1.png) | ![n_stand_2](1296/previews/n_stand_2.png) | ![n_sex_0](1296/previews/n_sex_0.png) | ![n_sex_1](1296/previews/n_sex_1.png) |
## Anything Else?
Because the automation of LoRA training always annoys some people. So for the following groups, it is not recommended to use this model and we express regret:
1. Individuals who cannot tolerate any deviations from the original character design, even in the slightest detail.
2. Individuals who are facing the application scenarios with high demands for accuracy in recreating character outfits.
3. Individuals who cannot accept the potential randomness in AI-generated images based on the Stable Diffusion algorithm.
4. Individuals who are not comfortable with the fully automated process of training character models using LoRA, or those who believe that training character models must be done purely through manual operations to avoid disrespecting the characters.
5. Individuals who finds the generated image content offensive to their values.
## All Steps
We uploaded the files in all steps. you can check the images, metrics and download them in the following links:
* [Steps From 1116 to 1440](all/0.md)
* [Steps From 756 to 1080](all/1.md)
* [Steps From 396 to 720](all/2.md)
* [Steps From 36 to 360](all/3.md)
|