Datasets:
Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
Tags:
text-to-image
multimodal
indoor-scenes
prompt-engineering
stable-diffusion
scene-understanding
DOI:
License:
update readme
Browse files
README.md
CHANGED
|
@@ -71,16 +71,42 @@ Prompt2SceneBench can be directly used for:
|
|
| 71 |
|
| 72 |
## Dataset Structure
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
-
|
| 82 |
-
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
## Dataset Creation
|
| 86 |
|
|
|
|
| 71 |
|
| 72 |
## Dataset Structure
|
| 73 |
|
| 74 |
+
### CSV Format (`prompt2scene_prompts_final.csv`)
|
| 75 |
+
**Size:** 12,606 prompts
|
| 76 |
+
Each row in the CSV corresponds to a single prompt instance and includes the following fields:
|
| 77 |
+
|
| 78 |
+
- `type`: Prompt category — one of `A`, `B`, `C`, or `D`, based on number of objects and complexity.
|
| 79 |
+
- `object1`, `object2`, `object3`, `object4`: Objects involved in the scene (some may be `null` depending on type).
|
| 80 |
+
- `surface`: The surface where the objects are placed (e.g., `desk surface`, `bench`).
|
| 81 |
+
- `scene`: The indoor environment (e.g., `living room`, `study room`).
|
| 82 |
+
- `prompt`: The final structured natural language prompt.
|
| 83 |
+
|
| 84 |
+
Note:
|
| 85 |
+
- Type A prompt has only 1 object (object2, object3, object4 fields will be None)
|
| 86 |
+
- Type B prompt has only 2 objects (object3, object4 fields will be None)
|
| 87 |
+
- Type C prompt has only 3 objects (object4 field will be None)
|
| 88 |
+
- Type D prompt has only 4 objects (all the object fields will have values)
|
| 89 |
+
|
| 90 |
+
Sample Examples:
|
| 91 |
+
- Type A: a football located on a bench in a basement. (object1: foorball, surface: bench, scene: basement)
|
| 92 |
+
- Type B: a coffee mug beside a notebook on a wooden table in a home office. (object1: coffee mug, object2: notebook, surface: wooden table, scene: home office)
|
| 93 |
+
- Type C: a jar, a coffee mug, and a bowl placed on a kitchen island in a kitchen. (object1: jar, object2: coffee mug, object3: bowl, surface: kitchen island, scene: kitchen)
|
| 94 |
+
- Type D: An arrangement of an air purifier, a pair of slippers, a guitar, and a pair of shoes on a floor in a bedroom. (object1:air purifier, object2: pair of slippers, object3: guitar, object4: pair of shoes, surface: floor, scene: bedroom)
|
| 95 |
+
|
| 96 |
+
### JSON Format (`prompt2scene_metadata.json`)
|
| 97 |
+
|
| 98 |
+
The JSON contains the following keys:
|
| 99 |
+
|
| 100 |
+
- `objects`: List of all 50 objects used in the prompt generation.
|
| 101 |
+
- `scenes`: List of 15 indoor scenes.
|
| 102 |
+
- `surfaces`: List of 20 compatible surfaces.
|
| 103 |
+
- `object_to_scenes`: Dictionary mapping each object to plausible indoor scenes.
|
| 104 |
+
- `object_to_surfaces`: Dictionary mapping each object to compatible surface(s).
|
| 105 |
+
- `surface_to_scenes`: Dictionary mapping each surface to scene(s) where it naturally occurs.
|
| 106 |
+
- `prompt_templates`: Template used for generating the prompts for all the prompt types (A, B, C, D), each prompt type has 3 variants
|
| 107 |
+
|
| 108 |
+
This JSON file supports reproducibility and reuse by providing all internal mappings used during structured prompt generation.
|
| 109 |
+
The community can further extend/modify the above lists and mappings and use their own prompt templates based on the usecase.
|
| 110 |
|
| 111 |
## Dataset Creation
|
| 112 |
|