Bakhvalov Pavel commited on
Commit
d0071dc
Β·
2 Parent(s): 98b7225 5a3bd00

Merge branch 'main' of https://huggingface.co/datasets/thedeoxen/refcontrol-flux-kontext-dataset

Browse files
Files changed (1) hide show
  1. README.md +83 -3
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
+