|
--- |
|
license: other |
|
license_name: flux-1-dev-non-commercial-license |
|
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |
|
language: |
|
- en |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- safetensors |
|
- stable-diffusion-xl |
|
--- |
|
<style> |
|
.title{ |
|
font-size: 2.5em; |
|
letter-spacing: 0.01em; |
|
padding: 0.5em 0; |
|
} |
|
.thumbwidth{ |
|
max-width: 180px; |
|
} |
|
.font_red{ |
|
color:red |
|
} |
|
</style> |
|
|
|
<a id="test01"></a> |
|
<h1 class="title"> |
|
<span>myjsm_flux_test01</span> |
|
</h1> |
|
-It is a test lora of poor quality with only a few images learned.<br/> |
|
-trained 167 images.<br/> |
|
<br/> |
|
I don't know why the image turns white. |
|
<br/> |
|
<br/> |
|
|
|
[Download:test01](https://huggingface.co/deadman44/Flux_Photoreal_LoRA/resolve/main/myjsm_flux_test01.safetensors?download=true) <br/> |
|
<br/> |
|
The model used for the test is [Flux Fusion DS v0 GGUF Q4_0 (UNET)](https://civitai.com/models/630820?modelVersionId=736086) |
|
<table> |
|
<tr> |
|
<td> |
|
<div> |
|
test01 |
|
</div> |
|
</td> |
|
<td> |
|
<div> |
|
original |
|
</div> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
|
<a href="https://img99.pixhost.to/images/33/506653593_20240823152822_fusionds_v0_q4_1439912753.jpg" target=”_blank”> |
|
<div> |
|
<img src="https://t99.pixhost.to/thumbs/33/506653593_20240823152822_fusionds_v0_q4_1439912753.jpg" alt="sample1" class="thumbwidth" > |
|
</div> |
|
</td> |
|
<td> |
|
<a href="https://img99.pixhost.to/images/33/506653594_20240823153500_fusionds_v0_q4_1439912753.jpg" target=”_blank”> |
|
<div> |
|
<img src="https://t99.pixhost.to/thumbs/33/506653594_20240823153500_fusionds_v0_q4_1439912753.jpg" alt="sample1" class="thumbwidth" > |
|
</div> |
|
</td> |
|
</tr> |
|
</table> |
|
<br /> |
|
|
|
```bash |
|
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 |
|
``` |
|
<br /> |
|
|
|
## - trigger |
|
```bash |
|
myjsm, japanese, 9yo |
|
``` |
|
<br /> |
|
|
|
## -Train Settings |
|
```bash |
|
base model: flux1-dev.safetensors |
|
vae/text encoder: clip_l.safetensors, t5xxl_fp8_e4m3fn.safetensors, ae.safetensors |
|
tag: caption (native eng) + tags (danbooru) |
|
|
|
--network_module "networks.lora_flux" |
|
--gradient_checkpointing |
|
--cache_latents |
|
--cache_latents_to_disk |
|
--cache_text_encoder_outputs |
|
--cache_text_encoder_outputs_to_disk |
|
--enable_bucket |
|
--bucket_no_upscale |
|
--optimizer_type "AdamW8bit" |
|
--optimizer_args "weight_decay=0.01" "betas=0.9,0.999" |
|
--learning_rate=0.0002 |
|
--network_dim=32 |
|
--network_alpha=16 |
|
--network_train_unet_only |
|
--mixed_precision "bf16" |
|
--save_precision "bf16" |
|
--full_bf16 |
|
--loss_type "l2" |
|
--huber_schedule "snr" |
|
--model_prediction_type "raw" |
|
--discrete_flow_shift 3 |
|
--timestep_sampling "sigma" |
|
--max_grad_norm=1 |
|
--max_timestep=1000 |
|
--min_snr_gamma=5 |
|
--min_timestep=100 |
|
--noise_offset=0.0375 |
|
--adaptive_noise_scale=0.00375 |
|
--apply_t5_attn_mask |
|
--split_mode |
|
--network_args "loraplus_unet_lr_ratio=16" "train_blocks=single" |
|
``` |
|
<br /> |