metadata
license: other
language:
- en
pipeline_tag: text-to-image
tags:
- LoRA
- Stable Diffusion
- image-generation
- Flux
This repository provides a checkpoint with trained LoRA photorealism for FLUX.1-dev model by Black Forest Labs
Training details
XLabs AI team is happy to publish fune-tuning Flux scripts, including:
- LoRA π₯
- ControlNet π₯
See our github for train script and train configs.
Training Dataset
Dataset has the following format for the training process:
βββ images/
β βββ 1.png
β βββ 1.json
β βββ 2.png
β βββ 2.json
β βββ ...
A .json file contains "caption" field with a text prompt.
Inference
python3 demo_lora_inference.py \
--checkpoint lora.safetensors \
--prompt "A handsome girl in a suit covered with bold tattoos and holding a pistol. fantasy style, natural photo cinematic"
License
lora.safetensors falls under the FLUX.1 [dev] Non-Commercial License
lora.bin falls under the FLUX.1 [dev] Non-Commercial License