thedeoxen's picture
Update README.md
5a3bd00 verified
---
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.
---