Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Visual Jenga Datasets
|
| 2 |
+
|
| 3 |
+
This directory contains the original datasets for [Visual Jenga: Discovering Object Dependencies via Counterfactual Inpainting](https://visualjenga.github.io/). Visual Jenga is a novel scene understanding task that involves progressively removing objects from a single image one at a time while keeping the rest of the scene stable. This process reveals object dependencies and provides a new way to evaluate grounded scene understanding by systematically exploring which objects can be removed while preserving scene coherence in both physical and geometric sense.
|
| 4 |
+
|
| 5 |
+
## Datasets Overview
|
| 6 |
+
|
| 7 |
+
### 1. ClutteredParse
|
| 8 |
+
- **Directory**: `clutteredparse/`
|
| 9 |
+
- **Samples**: 40 scenes
|
| 10 |
+
- **Structure**: Each subdirectory contains:
|
| 11 |
+
- `img.*` - Original scene image (various formats: jpg, jpeg, webp)
|
| 12 |
+
- `A.png` - Mask showing objects to remove (before)
|
| 13 |
+
- `B.png` - Mask showing objects after removal (after)
|
| 14 |
+
- **Visualization**: [dataset_clutteredparse.html](dataset_clutteredparse.html)
|
| 15 |
+
|
| 16 |
+
### 2. COCO
|
| 17 |
+
- **Directory**: `coco/`
|
| 18 |
+
- **Samples**: 200 scenes
|
| 19 |
+
- **Structure**: Each subdirectory (numbered 000-199) contains:
|
| 20 |
+
- `img.*` - Original scene image (jpeg format)
|
| 21 |
+
- `A.png` - Mask showing objects to remove (before)
|
| 22 |
+
- `B.png` - Mask showing objects after removal (after)
|
| 23 |
+
- **Visualization**: [dataset_coco.html](dataset_coco.html)
|
| 24 |
+
|
| 25 |
+
### 3. Full Scene Decom
|
| 26 |
+
- **Directory**: `full_scene_decom/`
|
| 27 |
+
- **Samples**: 56 images
|
| 28 |
+
- **Structure**: Flat directory with sequentially numbered images (00-55) in various formats (jpg, png, jpeg, webp, avif)
|
| 29 |
+
- **Purpose**: Scene decomposition visualization showing progressive scene breakdown
|
| 30 |
+
- **Visualization**: [dataset_full_scene_decom.html](dataset_full_scene_decom.html)
|
| 31 |
+
|
| 32 |
+
### 4. NYU
|
| 33 |
+
- **Directory**: `nyu/`
|
| 34 |
+
- **Samples**: 668 scenes
|
| 35 |
+
- **Structure**: Each subdirectory contains:
|
| 36 |
+
- `img.*` - Original scene image (jpg format)
|
| 37 |
+
- `A.png` - Mask showing objects to remove (before)
|
| 38 |
+
- `B.png` - Mask showing objects after removal (after)
|
| 39 |
+
- `scene_graph.jpg` or `scene_graph.png` - Scene graph visualization
|
| 40 |
+
- **Visualization**: [dataset_nyu.html](dataset_nyu.html)
|
| 41 |
+
|
| 42 |
+
## File Structure
|
| 43 |
+
|
| 44 |
+
```
|
| 45 |
+
originals/
|
| 46 |
+
├── clutteredparse/ # ClutteredParse dataset
|
| 47 |
+
│ ├── 01/
|
| 48 |
+
│ │ ├── img.jpg
|
| 49 |
+
│ │ ├── A.png
|
| 50 |
+
│ │ └── B.png
|
| 51 |
+
│ ├── 02/
|
| 52 |
+
│ └── ...
|
| 53 |
+
├── coco/ # COCO dataset
|
| 54 |
+
│ ├── 000/
|
| 55 |
+
│ │ ├── img.jpeg
|
| 56 |
+
│ │ ├── A.png
|
| 57 |
+
│ │ └── B.png
|
| 58 |
+
│ ├── 001/
|
| 59 |
+
│ └── ...
|
| 60 |
+
├── full_scene_decom/ # Full Scene Decom dataset
|
| 61 |
+
│ ├── 00.jpg
|
| 62 |
+
│ ├── 01.png
|
| 63 |
+
│ └── ...
|
| 64 |
+
├── nyu/ # NYU dataset
|
| 65 |
+
│ ├── 10_0/
|
| 66 |
+
│ │ ├── img.jpg
|
| 67 |
+
│ │ ├── A.png
|
| 68 |
+
│ │ ├── B.png
|
| 69 |
+
│ │ └── scene_graph.jpg
|
| 70 |
+
│ └── ...
|
| 71 |
+
├── dataset_clutteredparse.html
|
| 72 |
+
├── dataset_coco.html
|
| 73 |
+
├── dataset_full_scene_decom.html
|
| 74 |
+
├── dataset_nyu.html
|
| 75 |
+
└── README.md
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
## Visualizations
|
| 79 |
+
|
| 80 |
+
Interactive HTML visualizations are available for each dataset:
|
| 81 |
+
|
| 82 |
+
- **[ClutteredParse Visualization](dataset_clutteredparse.html)** - Browse all 40 scenes with before/after masks
|
| 83 |
+
- **[COCO Visualization](dataset_coco.html)** - Browse all 200 scenes with before/after masks
|
| 84 |
+
- **[Full Scene Decom Visualization](dataset_full_scene_decom.html)** - Browse all 56 scene decomposition images
|
| 85 |
+
- **[NYU Visualization](dataset_nyu.html)** - Browse all 668 scenes with before/after masks and scene graphs
|
| 86 |
+
|
| 87 |
+
## Dataset Statistics
|
| 88 |
+
|
| 89 |
+
| Dataset | Scenes | Total Files | Image Formats |
|
| 90 |
+
|---------|--------|-------------|---------------|
|
| 91 |
+
| ClutteredParse | 40 | 120 | jpg, jpeg, webp, png |
|
| 92 |
+
| COCO | 200 | 600 | jpeg, png |
|
| 93 |
+
| Full Scene Decom | 56 | 56 | jpg, png, jpeg, webp, avif |
|
| 94 |
+
| NYU | 668 | 2,672 | jpg, png |
|
| 95 |
+
|
| 96 |
+
## Usage
|
| 97 |
+
|
| 98 |
+
Each dataset can be used independently for:
|
| 99 |
+
- Object removal research
|
| 100 |
+
- Scene understanding tasks
|
| 101 |
+
- Mask generation evaluation
|
| 102 |
+
- Scene graph analysis (NYU dataset)
|
| 103 |
+
|
| 104 |
+
## Notes
|
| 105 |
+
|
| 106 |
+
- All images maintain their original formats and quality
|
| 107 |
+
- Mask files (A.png, B.png) are provided in PNG format for transparency support
|
| 108 |
+
- Scene graphs are available only in the NYU dataset
|
| 109 |
+
- The Full Scene Decom dataset uses a flat structure with sequential numbering
|
| 110 |
+
|