Update README.md
Browse files
README.md
CHANGED
|
@@ -24,6 +24,138 @@ tags:
|
|
| 24 |
}
|
| 25 |
</style>
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<a id="test01"></a>
|
| 28 |
<h1 class="title">
|
| 29 |
<span>myjsm_flux_test01</span>
|
|
@@ -75,7 +207,7 @@ myjsm, japanese, photograph of a portrait of a young girl sitting on a white cou
|
|
| 75 |
|
| 76 |
## - trigger
|
| 77 |
```bash
|
| 78 |
-
|
| 79 |
```
|
| 80 |
<br />
|
| 81 |
|
|
|
|
| 24 |
}
|
| 25 |
</style>
|
| 26 |
|
| 27 |
+
<a id="test02"></a>
|
| 28 |
+
<h1 class="title">
|
| 29 |
+
<span>myjsm_flux_test02</span>
|
| 30 |
+
</h1>
|
| 31 |
+
-It is a test lora of poor quality with only a few images learned.<br/>
|
| 32 |
+
-trained 273 images.<br/>
|
| 33 |
+
<br/>
|
| 34 |
+
I found a little train setting.
|
| 35 |
+
But still hard to find things that don't show up in flux.
|
| 36 |
+
<br/>
|
| 37 |
+
<br/>
|
| 38 |
+
|
| 39 |
+
[Download:test02](https://huggingface.co/deadman44/Flux_Photoreal_LoRA/resolve/main/myjsm_flux_test02.safetensors?download=true) <br/>
|
| 40 |
+
<br/>
|
| 41 |
+
The model used for the test is [Flux Fusion DS v0 GGUF Q4_0 (UNET)](https://civitai.com/models/630820?modelVersionId=736086) and [v0 GGUF Q5_K_M](https://civitai.com/models/630820?modelVersionId=765575).
|
| 42 |
+
<table>
|
| 43 |
+
<tr>
|
| 44 |
+
<td colspan="3">
|
| 45 |
+
<div>
|
| 46 |
+
GGUF Q4_0 + t5xxl_fp8_e4m3fn : 4step
|
| 47 |
+
</div>
|
| 48 |
+
</td>
|
| 49 |
+
</tr>
|
| 50 |
+
<tr>
|
| 51 |
+
<td>
|
| 52 |
+
<a href="https://img99.pixhost.to/images/126/507626249_20240827094724_fusionds_v0_q4_456078958.jpg" target=”_blank”>
|
| 53 |
+
<div>
|
| 54 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626249_20240827094724_fusionds_v0_q4_456078958.jpg" alt="sample1" class="thumbwidth" >
|
| 55 |
+
</div>
|
| 56 |
+
</td>
|
| 57 |
+
<td>
|
| 58 |
+
<a href="https://img99.pixhost.to/images/126/507626251_20240827103511_fusionds_v0_q4_482040669.jpg" target=”_blank”>
|
| 59 |
+
<div>
|
| 60 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626251_20240827103511_fusionds_v0_q4_482040669.jpg" alt="sample1" class="thumbwidth" >
|
| 61 |
+
</div>
|
| 62 |
+
</td>
|
| 63 |
+
<td>
|
| 64 |
+
<a href="https://img99.pixhost.to/images/126/507626253_20240827112528_fusionds_v0_q4_1816421730.jpg" target=”_blank”>
|
| 65 |
+
<div>
|
| 66 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626253_20240827112528_fusionds_v0_q4_1816421730.jpg" alt="sample1" class="thumbwidth" >
|
| 67 |
+
</div>
|
| 68 |
+
</td>
|
| 69 |
+
</tr>
|
| 70 |
+
<tr>
|
| 71 |
+
<td colspan="3">
|
| 72 |
+
<div>
|
| 73 |
+
GGUF Q5_K_M. + t5-v1_1-xxl-encoder-Q5_K_M : 12step
|
| 74 |
+
</div>
|
| 75 |
+
</td>
|
| 76 |
+
</tr>
|
| 77 |
+
<tr>
|
| 78 |
+
<td>
|
| 79 |
+
<a href="https://img99.pixhost.to/images/126/507626250_20240827102458_fluxfusionds_v0_q5_k_m_2418428235.jpg" target=”_blank”>
|
| 80 |
+
<div>
|
| 81 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626250_20240827102458_fluxfusionds_v0_q5_k_m_2418428235.jpg" alt="sample1" class="thumbwidth" >
|
| 82 |
+
</div>
|
| 83 |
+
</td>
|
| 84 |
+
<td>
|
| 85 |
+
<a href="https://img99.pixhost.to/images/126/507626252_20240827110802_fluxfusionds_v0_q5_k_m_3216545735.jpg" target=”_blank”>
|
| 86 |
+
<div>
|
| 87 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626252_20240827110802_fluxfusionds_v0_q5_k_m_3216545735.jpg" alt="sample1" class="thumbwidth" >
|
| 88 |
+
</div>
|
| 89 |
+
</td>
|
| 90 |
+
<td>
|
| 91 |
+
<a href="https://img99.pixhost.to/images/126/507626256_20240827121409_fluxfusionds_v0_q5_k_m_2982180625.jpg" target=”_blank”>
|
| 92 |
+
<div>
|
| 93 |
+
<img src="https://t99.pixhost.to/thumbs/126/507626256_20240827121409_fluxfusionds_v0_q5_k_m_2982180625.jpg" alt="sample1" class="thumbwidth" >
|
| 94 |
+
</div>
|
| 95 |
+
</td>
|
| 96 |
+
</tr>
|
| 97 |
+
</table>
|
| 98 |
+
-refer to png info
|
| 99 |
+
<br />
|
| 100 |
+
|
| 101 |
+
## - sample prompt
|
| 102 |
+
[<img src=https://t99.pixhost.to/thumbs/126/507626257_20240827124249_fusionds_v0_q4_642879771.jpg />](https://img99.pixhost.to/images/126/507626257_20240827124249_fusionds_v0_q4_642879771.jpg)
|
| 103 |
+
```bash
|
| 104 |
+
9yo, myjsm, japanese,
|
| 105 |
+
photograph of a girl sitting on a brick pavement with a pink umbrella in front of her. She is wearing a white camisole and a blue skirt with a anime print. She has shoulder-length dark hair and is smiling at the camera.
|
| 106 |
+
bangs, black eyes, skirt, rain
|
| 107 |
+
<lora:myjsm_flux_test02:1>
|
| 108 |
+
Steps: 4, Sampler: Euler, Schedule type: Simple, CFG scale: 1, Seed: 642879771, Size: 792x1056, Model hash: 5e21feb505, Model: FusionDS_v0_Q4, Lora hashes: "myjsm_flux_test02: 3fdff20b7d65", Version: f2.0.1v1.10.1-previous-419-gf82029c5c, Module 1: ae, Module 2: clip_l, Module 3: t5xxl_fp8_e4m3fn
|
| 109 |
+
```
|
| 110 |
+
<br />
|
| 111 |
+
|
| 112 |
+
## - trigger
|
| 113 |
+
```bash
|
| 114 |
+
myjsm, japanese, 9yo,
|
| 115 |
+
and native english
|
| 116 |
+
```
|
| 117 |
+
<br />
|
| 118 |
+
|
| 119 |
+
## -Train Settings
|
| 120 |
+
```bash
|
| 121 |
+
base model: flux1-dev.safetensors
|
| 122 |
+
vae/text encoder: clip_l.safetensors, t5xxl_fp8_e4m3fn.safetensors, ae.safetensors
|
| 123 |
+
tag: caption (native eng) + tags (danbooru)
|
| 124 |
+
|
| 125 |
+
--network_module "networks.lora_flux"
|
| 126 |
+
--gradient_checkpointing
|
| 127 |
+
--cache_latents
|
| 128 |
+
--cache_latents_to_disk
|
| 129 |
+
--cache_text_encoder_outputs
|
| 130 |
+
--cache_text_encoder_outputs_to_disk
|
| 131 |
+
--enable_bucket
|
| 132 |
+
--bucket_no_upscale
|
| 133 |
+
--optimizer_type "AdamW8bit"
|
| 134 |
+
--optimizer_args "weight_decay=0.01" "betas=0.9,0.999"
|
| 135 |
+
--learning_rate=0.0002
|
| 136 |
+
--network_dim=32
|
| 137 |
+
--network_alpha=4
|
| 138 |
+
--network_train_unet_only
|
| 139 |
+
--mixed_precision "bf16"
|
| 140 |
+
--save_precision "bf16"
|
| 141 |
+
--full_bf16
|
| 142 |
+
--loss_type "l2"
|
| 143 |
+
--huber_schedule "snr"
|
| 144 |
+
--model_prediction_type "raw"
|
| 145 |
+
--discrete_flow_shift 3
|
| 146 |
+
--timestep_sampling "sigma"
|
| 147 |
+
--max_grad_norm=1
|
| 148 |
+
--max_timestep=1000
|
| 149 |
+
--min_snr_gamma=5
|
| 150 |
+
--min_timestep=100
|
| 151 |
+
--noise_offset=0.0375
|
| 152 |
+
--adaptive_noise_scale=0.00375
|
| 153 |
+
--apply_t5_attn_mask
|
| 154 |
+
--split_mode
|
| 155 |
+
--network_args "loraplus_unet_lr_ratio=16" "train_blocks=single"
|
| 156 |
+
```
|
| 157 |
+
<br />
|
| 158 |
+
|
| 159 |
<a id="test01"></a>
|
| 160 |
<h1 class="title">
|
| 161 |
<span>myjsm_flux_test01</span>
|
|
|
|
| 207 |
|
| 208 |
## - trigger
|
| 209 |
```bash
|
| 210 |
+
myjsm, japanese, 9yo
|
| 211 |
```
|
| 212 |
<br />
|
| 213 |
|