|
|
--- |
|
|
license: apache-2.0 |
|
|
size_categories: |
|
|
- 1K<n<10K |
|
|
--- |
|
|
# Flux Kontext RefControl Dataset |
|
|
|
|
|
This dataset was created for training **Flux Kontext RefControl LoRAs**. |
|
|
It provides paired data of **control maps** (depth, pose, lineart, canny) and their **corresponding results** for reference-guided training. |
|
|
|
|
|
--- |
|
|
## π Dataset Structure |
|
|
|
|
|
```text |
|
|
dataset/ |
|
|
β |
|
|
βββ depth/ |
|
|
β βββ control/ # depth maps |
|
|
β βββ result/ # corresponding images |
|
|
β |
|
|
βββ pose/ |
|
|
β βββ control/ # pose skeletons / keypoints |
|
|
β βββ result/ # corresponding images |
|
|
β |
|
|
βββ lineart/ |
|
|
β βββ control/ # lineart outlines |
|
|
β βββ result/ # corresponding images |
|
|
β |
|
|
βββ canny/ |
|
|
β βββ control/ # canny edge maps |
|
|
β βββ result/ # corresponding images |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Files in `control` and `result` share the same names. |
|
|
Example: `depth/control/0001.png` β `depth/result/0001.png` |
|
|
|
|
|
--- |
|
|
|
|
|
## π― Purpose |
|
|
|
|
|
The dataset is designed to train LoRAs that: |
|
|
- Preserve **identity** (faces, style, object details). |
|
|
- Follow **control signals**: depth, pose, lineart, or canny edges. |
|
|
- Enable consistent and controllable generation with **Flux Kontext** models. |
|
|
|
|
|
--- |
|
|
|
|
|
## πΈ Data Source & Attribution |
|
|
|
|
|
All images were sourced from **[Pexels](https://www.pexels.com/)** under the **CC0 license**. |
|
|
For this dataset, we carefully selected **photo series** where: |
|
|
- The **object or person remained the same**, |
|
|
- But **pose, position, or composition changed** across the sequence. |
|
|
|
|
|
This approach ensures strong consistency for reference-based training while enabling meaningful variation for control tasks. |
|
|
|
|
|
π **A huge thank you to the talented photographers on Pexels** for sharing their work openly and making this dataset possible. |
|
|
|
|
|
--- |
|
|
|
|
|
## π Related LoRAs |
|
|
|
|
|
- **[Depth Reference Fusion LoRA](https://huggingface.co/thedeoxen/FLUX.1-Kontext-dev-reference-depth-fusion-LORA)** |
|
|
Trigger: `redepthkontext` |
|
|
Preserves identity while following a depth map. |
|
|
|
|
|
- **[Reference Pose LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-pose-lora)** |
|
|
Trigger: `refcontrolpose` |
|
|
Uses a pose skeleton to transfer style/identity to a new pose. |
|
|
|
|
|
- **[Reference Lineart LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-lineart-lora)** |
|
|
Trigger: `refcontrollineart` |
|
|
Controls proportions with lineart while keeping style. |
|
|
|
|
|
- **[Reference Canny LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-canny-lora)** |
|
|
Trigger: `refcontrolcanny` |
|
|
Uses canny edges for precise contour control. |
|
|
|
|
|
--- |
|
|
|
|
|
|