Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: flux-1-dev-non-commercial-license
|
4 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
tags:
|
8 |
+
- text-to-image
|
9 |
+
- stable-diffusion
|
10 |
+
- safetensors
|
11 |
+
- stable-diffusion-xl
|
12 |
+
---
|
13 |
+
<style>
|
14 |
+
.title{
|
15 |
+
font-size: 2.5em;
|
16 |
+
letter-spacing: 0.01em;
|
17 |
+
padding: 0.5em 0;
|
18 |
+
}
|
19 |
+
.thumbwidth{
|
20 |
+
max-width: 180px;
|
21 |
+
}
|
22 |
+
.font_red{
|
23 |
+
color:red
|
24 |
+
}
|
25 |
+
</style>
|
26 |
+
|
27 |
+
<a id="test01"></a>
|
28 |
+
<h1 class="title">
|
29 |
+
<span>myjsm_flux_test01</span>
|
30 |
+
</h1>
|
31 |
+
-It is a test lora of poor quality with only a few images learned.<br/>
|
32 |
+
-trained 167 images.<br/>
|
33 |
+
<br/>
|
34 |
+
I don't know why the image turns white.
|
35 |
+
<br/>
|
36 |
+
<br/>
|
37 |
+
|
38 |
+
[Download:test01](https://huggingface.co/deadman44/Flux_Photoreal_LoRA/resolve/main/myjsm_flux_test01.safetensors?download=true) <br/>
|
39 |
+
<br/>
|
40 |
+
The model used for the test is [Flux Fusion DS v0 GGUF Q4_0 (UNET)](https://civitai.com/models/630820?modelVersionId=736086)
|
41 |
+
<table>
|
42 |
+
<tr>
|
43 |
+
<td>
|
44 |
+
<div>
|
45 |
+
test01
|
46 |
+
</div>
|
47 |
+
</td>
|
48 |
+
<td>
|
49 |
+
<div>
|
50 |
+
original
|
51 |
+
</div>
|
52 |
+
</td>
|
53 |
+
</tr>
|
54 |
+
<tr>
|
55 |
+
<td>
|
56 |
+
<a href="https://img99.pixhost.to/images/33/506653593_20240823152822_fusionds_v0_q4_1439912753.jpg" target=”_blank”>
|
57 |
+
<div>
|
58 |
+
<img src="https://t99.pixhost.to/thumbs/33/506653593_20240823152822_fusionds_v0_q4_1439912753.jpg" alt="sample1" class="thumbwidth" >
|
59 |
+
</div>
|
60 |
+
</td>
|
61 |
+
<td>
|
62 |
+
<a href="https://img99.pixhost.to/images/33/506653594_20240823153500_fusionds_v0_q4_1439912753.jpg" target=”_blank”>
|
63 |
+
<div>
|
64 |
+
<img src="https://t99.pixhost.to/thumbs/33/506653594_20240823153500_fusionds_v0_q4_1439912753.jpg" alt="sample1" class="thumbwidth" >
|
65 |
+
</div>
|
66 |
+
</td>
|
67 |
+
</tr>
|
68 |
+
</table>
|
69 |
+
<br />
|
70 |
+
|
71 |
+
```bash
|
72 |
+
myjsm, japanese, photograph of a portrait of a young girl sitting on a white couch in girly room. She is wearing a pink and white checkered dress with a pink bow on her head. black hair, twintails, bangs, black eyes, smile, upper body
|
73 |
+
```
|
74 |
+
<br />
|
75 |
+
|
76 |
+
## - trigger
|
77 |
+
```bash
|
78 |
+
myjsm, japanese, 9yo
|
79 |
+
```
|
80 |
+
<br />
|
81 |
+
|
82 |
+
## -Train Settings
|
83 |
+
```bash
|
84 |
+
base model: flux1-dev.safetensors
|
85 |
+
vae/text encoder: clip_l.safetensors, t5xxl_fp8_e4m3fn.safetensors, ae.safetensors
|
86 |
+
tag: caption (native eng) + tags (danbooru)
|
87 |
+
|
88 |
+
--network_module "networks.lora_flux"
|
89 |
+
--gradient_checkpointing
|
90 |
+
--cache_latents
|
91 |
+
--cache_latents_to_disk
|
92 |
+
--cache_text_encoder_outputs
|
93 |
+
--cache_text_encoder_outputs_to_disk
|
94 |
+
--enable_bucket
|
95 |
+
--bucket_no_upscale
|
96 |
+
--optimizer_type "AdamW8bit"
|
97 |
+
--optimizer_args "weight_decay=0.01" "betas=0.9,0.999"
|
98 |
+
--learning_rate=0.0002
|
99 |
+
--network_dim=32
|
100 |
+
--network_alpha=16
|
101 |
+
--network_train_unet_only
|
102 |
+
--mixed_precision "bf16"
|
103 |
+
--save_precision "bf16"
|
104 |
+
--full_bf16
|
105 |
+
--loss_type "l2"
|
106 |
+
--huber_schedule "snr"
|
107 |
+
--model_prediction_type "raw"
|
108 |
+
--discrete_flow_shift 3
|
109 |
+
--timestep_sampling "sigma"
|
110 |
+
--max_grad_norm=1
|
111 |
+
--max_timestep=1000
|
112 |
+
--min_snr_gamma=5
|
113 |
+
--min_timestep=100
|
114 |
+
--noise_offset=0.0375
|
115 |
+
--adaptive_noise_scale=0.00375
|
116 |
+
--apply_t5_attn_mask
|
117 |
+
--split_mode
|
118 |
+
--network_args "loraplus_unet_lr_ratio=16" "train_blocks=single"
|
119 |
+
```
|
120 |
+
<br />
|