Merge branch 'main' of https://huggingface.co/datasets/thedeoxen/refcontrol-flux-kontext-dataset
Browse files
README.md
CHANGED
@@ -1,3 +1,83 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
size_categories:
|
4 |
+
- 1K<n<10K
|
5 |
+
---
|
6 |
+
# Flux Kontext RefControl Dataset
|
7 |
+
|
8 |
+
This dataset was created for training **Flux Kontext RefControl LoRAs**.
|
9 |
+
It provides paired data of **control maps** (depth, pose, lineart, canny) and their **corresponding results** for reference-guided training.
|
10 |
+
|
11 |
+
---
|
12 |
+
## π Dataset Structure
|
13 |
+
|
14 |
+
```text
|
15 |
+
dataset/
|
16 |
+
β
|
17 |
+
βββ depth/
|
18 |
+
β βββ control/ # depth maps
|
19 |
+
β βββ result/ # corresponding images
|
20 |
+
β
|
21 |
+
βββ pose/
|
22 |
+
β βββ control/ # pose skeletons / keypoints
|
23 |
+
β βββ result/ # corresponding images
|
24 |
+
β
|
25 |
+
βββ lineart/
|
26 |
+
β βββ control/ # lineart outlines
|
27 |
+
β βββ result/ # corresponding images
|
28 |
+
β
|
29 |
+
βββ canny/
|
30 |
+
β βββ control/ # canny edge maps
|
31 |
+
β βββ result/ # corresponding images
|
32 |
+
```
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
- Files in `control` and `result` share the same names.
|
38 |
+
Example: `depth/control/0001.png` β `depth/result/0001.png`
|
39 |
+
|
40 |
+
---
|
41 |
+
|
42 |
+
## π― Purpose
|
43 |
+
|
44 |
+
The dataset is designed to train LoRAs that:
|
45 |
+
- Preserve **identity** (faces, style, object details).
|
46 |
+
- Follow **control signals**: depth, pose, lineart, or canny edges.
|
47 |
+
- Enable consistent and controllable generation with **Flux Kontext** models.
|
48 |
+
|
49 |
+
---
|
50 |
+
|
51 |
+
## πΈ Data Source & Attribution
|
52 |
+
|
53 |
+
All images were sourced from **[Pexels](https://www.pexels.com/)** under the **CC0 license**.
|
54 |
+
For this dataset, we carefully selected **photo series** where:
|
55 |
+
- The **object or person remained the same**,
|
56 |
+
- But **pose, position, or composition changed** across the sequence.
|
57 |
+
|
58 |
+
This approach ensures strong consistency for reference-based training while enabling meaningful variation for control tasks.
|
59 |
+
|
60 |
+
π **A huge thank you to the talented photographers on Pexels** for sharing their work openly and making this dataset possible.
|
61 |
+
|
62 |
+
---
|
63 |
+
|
64 |
+
## π Related LoRAs
|
65 |
+
|
66 |
+
- **[Depth Reference Fusion LoRA](https://huggingface.co/thedeoxen/FLUX.1-Kontext-dev-reference-depth-fusion-LORA)**
|
67 |
+
Trigger: `redepthkontext`
|
68 |
+
Preserves identity while following a depth map.
|
69 |
+
|
70 |
+
- **[Reference Pose LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-pose-lora)**
|
71 |
+
Trigger: `refcontrolpose`
|
72 |
+
Uses a pose skeleton to transfer style/identity to a new pose.
|
73 |
+
|
74 |
+
- **[Reference Lineart LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-lineart-lora)**
|
75 |
+
Trigger: `refcontrollineart`
|
76 |
+
Controls proportions with lineart while keeping style.
|
77 |
+
|
78 |
+
- **[Reference Canny LoRA](https://huggingface.co/thedeoxen/refcontrol-flux-kontext-reference-canny-lora)**
|
79 |
+
Trigger: `refcontrolcanny`
|
80 |
+
Uses canny edges for precise contour control.
|
81 |
+
|
82 |
+
---
|
83 |
+
|