Datasets:
Add files using upload-large-folder tool
Browse files- README.md +184 -3
- README_zh.md +156 -0
- assets/image-20260503132555963.png +3 -0
- assets/pipeline_en.png +3 -0
- images/img_000000.png +3 -0
- images/img_000001.png +3 -0
- images/img_000002.png +3 -0
- images/img_000003.png +3 -0
- images/img_000004.png +3 -0
- images/img_000005.png +3 -0
- images/img_000006.png +3 -0
- images/img_000007.png +3 -0
- images/img_000008.png +3 -0
- images/img_000009.png +3 -0
- images/img_000010.png +3 -0
- images/img_000011.png +3 -0
- images/img_000012.png +3 -0
- images/img_000013.png +3 -0
- images/img_000014.png +3 -0
- images/img_000015.png +3 -0
- images/img_000016.png +3 -0
- images/img_000017.png +3 -0
- images/img_000018.png +3 -0
- images/img_000019.png +3 -0
- images/img_000020.png +3 -0
- images/img_000021.png +3 -0
- images/img_000022.png +3 -0
- images/img_000023.png +3 -0
- images/img_000024.png +3 -0
- images/img_000025.png +3 -0
- images/img_000026.png +3 -0
- images/img_000027.png +3 -0
- images/img_000028.png +3 -0
- images/img_000029.png +3 -0
- images/img_000030.png +3 -0
- images/img_000031.png +3 -0
- images/img_000032.png +3 -0
- images/img_000033.png +3 -0
- images/img_000034.png +3 -0
- images/img_000035.png +3 -0
- images/img_000036.png +3 -0
- images/img_000037.png +3 -0
- images/img_000038.png +3 -0
- images/img_000039.png +3 -0
- images/img_000040.png +3 -0
- images/img_000041.png +3 -0
- images/img_000042.png +3 -0
- images/img_000043.png +3 -0
- metadata.jsonl +0 -0
- stats.json +94 -0
README.md
CHANGED
|
@@ -1,3 +1,184 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Outpainted for Image Cropping
|
| 3 |
+
license: other
|
| 4 |
+
license_name: research-only-source-license-dependent
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-image
|
| 7 |
+
- object-detection
|
| 8 |
+
tags:
|
| 9 |
+
- image
|
| 10 |
+
- computer-vision
|
| 11 |
+
- image-cropping
|
| 12 |
+
- bounding-box
|
| 13 |
+
- outpainting
|
| 14 |
+
- inpainting
|
| 15 |
+
- stable-diffusion
|
| 16 |
+
- composition
|
| 17 |
+
- imagefolder
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Outpainted for Image Cropping
|
| 23 |
+
|
| 24 |
+
<p align="center">
|
| 25 |
+
<a href="./README.md">English</a> | <a href="./README_zh.md">涓枃</a>
|
| 26 |
+
</p>
|
| 27 |
+
|
| 28 |
+
## Dataset Overview
|
| 29 |
+
|
| 30 |
+
This dataset contains a collection of images generated by **Stable Diffusion v2 Inpaint** through outpainting, along with bounding box annotations indicating the 鈥渙riginal image region鈥?within each outpainted image. The dataset is mainly intended for research tasks such as image cropping, original frame recovery, composition-aware cropping, and outpainting-aware visual understanding.
|
| 31 |
+
|
| 32 |
+
Each sample contains:
|
| 33 |
+
|
| 34 |
+
- An outpainted image;
|
| 35 |
+
- `orig_bbox`: the location of the original image in the expanded canvas;
|
| 36 |
+
- `composition_tags`: a list of image composition tags, some of which may be empty.
|
| 37 |
+
|
| 38 |
+
## Data Generation Pipeline
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
The data generation pipeline is as follows:
|
| 43 |
+
|
| 44 |
+
1. Collect professional photographs or high-aesthetic-score images.
|
| 45 |
+
2. Obtain or generate image descriptions, for example by using BLIP to generate captions.
|
| 46 |
+
3. Set the expansion margins.
|
| 47 |
+
4. Use **Stable Diffusion v2 Inpaint** to complete the expanded regions.
|
| 48 |
+
5. Use positive prompts to constrain the generated content.
|
| 49 |
+
6. Use negative prompts to reduce undesired content, such as `frame`, `border`, `text`, `watermark`, etc.
|
| 50 |
+
7. Perform artifact detection and consistency detection on the generated results.
|
| 51 |
+
8. Conduct manual inspection.
|
| 52 |
+
9. Keep the samples that pass quality control, and record the bbox of the original image region to form training pairs.
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
`orig_bbox` uses the following format:
|
| 56 |
+
|
| 57 |
+
```text
|
| 58 |
+
[x_min, y_min, x_max, y_max]
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
This bbox represents the position of the original image region in the outpainted canvas, rather than an object bounding box in object detection.
|
| 62 |
+
|
| 63 |
+
## Data Sources
|
| 64 |
+
|
| 65 |
+
The source images of this dataset come from or refer to the following public datasets/repositories:
|
| 66 |
+
|
| 67 |
+
1. **PICD: Photographic Image Composition Dataset**
|
| 68 |
+
https://github.com/CV-xueba/PICD_ImageComposition
|
| 69 |
+
|
| 70 |
+
2. **LAION Aesthetics v2 4.75**
|
| 71 |
+
https://huggingface.co/datasets/laion/aesthetics_v2_4.75
|
| 72 |
+
|
| 73 |
+
3. **Landscape-Dataset**
|
| 74 |
+
https://github.com/koishi70/Landscape-Dataset/tree/master
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
## Dataset Structure
|
| 78 |
+
|
| 79 |
+
```text
|
| 80 |
+
outpainted-for-image-cropping/
|
| 81 |
+
鈹溾攢鈹€ README.md
|
| 82 |
+
鈹溾攢鈹€ metadata.jsonl
|
| 83 |
+
鈹溾攢鈹€ stats.json
|
| 84 |
+
鈹斺攢鈹€ images/
|
| 85 |
+
鈹溾攢鈹€ img_000000.png
|
| 86 |
+
鈹溾攢鈹€ img_000001.png
|
| 87 |
+
鈹斺攢鈹€ ...
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Each line in `metadata.jsonl` corresponds to one sample, for example:
|
| 91 |
+
|
| 92 |
+
```json
|
| 93 |
+
{
|
| 94 |
+
"file_name": "images/img_000000.png",
|
| 95 |
+
"orig_bbox": [281, 77, 881, 487],
|
| 96 |
+
"composition_tags": ["HORI2"]
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### Field Description
|
| 101 |
+
|
| 102 |
+
- `file_name`: the relative path of the outpainted image.
|
| 103 |
+
- `orig_bbox`: the bounding box of the original image region in the outpainted canvas, in the format `[x_min, y_min, x_max, y_max]`.
|
| 104 |
+
- `composition_tags`: a list of composition tags parsed from the original dataset. If there is no reliable composition tag, it is an empty list `[]`.
|
| 105 |
+
|
| 106 |
+
## Dataset Statistics
|
| 107 |
+
High-frequency composition tags:
|
| 108 |
+
|
| 109 |
+
| Tag | Count |
|
| 110 |
+
|---|---:|
|
| 111 |
+
| HORI2 | 1,956 |
|
| 112 |
+
| HORI3 | 1,694 |
|
| 113 |
+
| DIFFUSE | 1,600 |
|
| 114 |
+
| DENSE | 1,436 |
|
| 115 |
+
| DIA | 1,305 |
|
| 116 |
+
| LINE_VERTI3 | 1,156 |
|
| 117 |
+
| PATTERN | 1,000 |
|
| 118 |
+
| LINE_VERTI_MANY | 983 |
|
| 119 |
+
| POINT_MULTI_HORI | 64 |
|
| 120 |
+
| LINE_VERTI2 | 55 |
|
| 121 |
+
|
| 122 |
+
## Usage
|
| 123 |
+
|
| 124 |
+
Load from the Hugging Face Hub:
|
| 125 |
+
|
| 126 |
+
```python
|
| 127 |
+
from datasets import load_dataset
|
| 128 |
+
|
| 129 |
+
dataset = load_dataset("zzsyppt/outpainted-for-image-cropping")
|
| 130 |
+
print(dataset)
|
| 131 |
+
print(dataset["train"][0])
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
Check locally before uploading:
|
| 135 |
+
|
| 136 |
+
```python
|
| 137 |
+
from datasets import load_dataset
|
| 138 |
+
|
| 139 |
+
dataset = load_dataset("imagefolder", data_dir="./hf_dataset")
|
| 140 |
+
print(dataset)
|
| 141 |
+
print(dataset["train"][0])
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
Expected fields include:
|
| 145 |
+
|
| 146 |
+
```text
|
| 147 |
+
image
|
| 148 |
+
orig_bbox
|
| 149 |
+
composition_tags
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
## Citation
|
| 153 |
+
|
| 154 |
+
This dataset is for personal use only. If you use this dataset, please cite the corresponding upstream datasets based on the actual source of the samples used.
|
| 155 |
+
|
| 156 |
+
### PICD
|
| 157 |
+
|
| 158 |
+
```bibtex
|
| 159 |
+
@inproceedings{zhao2025can,
|
| 160 |
+
title={Can Machines Understand Composition? Dataset and Benchmark for Photographic Image Composition Embedding and Understanding},
|
| 161 |
+
author={Zhao, Zhaoran and Lu, Peng and Zhang, Anran and Li, Peipei and Li, Xia and Liu, Xuannan and Hu, Yang and Chen, Shiyi and Wang, Liwei and Guo, Wenhao},
|
| 162 |
+
booktitle={Proceedings of the Computer Vision and Pattern Recognition Conference},
|
| 163 |
+
pages={14411--14421},
|
| 164 |
+
year={2025}
|
| 165 |
+
}
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
### LAION-Aesthetics
|
| 169 |
+
|
| 170 |
+
Please refer to the official LAION page and the corresponding Hugging Face dataset page to cite the related work of LAION-Aesthetics / LAION-5B:
|
| 171 |
+
|
| 172 |
+
- https://laion.ai/blog/laion-aesthetics/
|
| 173 |
+
- https://huggingface.co/datasets/laion/aesthetics_v2_4.75
|
| 174 |
+
|
| 175 |
+
### Landscape-Dataset
|
| 176 |
+
|
| 177 |
+
Please refer to the original repository:
|
| 178 |
+
|
| 179 |
+
- https://github.com/koishi70/Landscape-Dataset/tree/master
|
| 180 |
+
|
| 181 |
+
## Acknowledgements
|
| 182 |
+
|
| 183 |
+
The generation of this dataset used Stable Diffusion v2 Inpaint and referenced or used public image data sources. We thank the creators and maintainers of the upstream datasets, repositories, and models.
|
| 184 |
+
|
README_zh.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Outpainted for Image Cropping
|
| 3 |
+
license: other
|
| 4 |
+
license_name: research-only-source-license-dependent
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-image
|
| 7 |
+
- object-detection
|
| 8 |
+
tags:
|
| 9 |
+
- image
|
| 10 |
+
- computer-vision
|
| 11 |
+
- image-cropping
|
| 12 |
+
- bounding-box
|
| 13 |
+
- outpainting
|
| 14 |
+
- inpainting
|
| 15 |
+
- stable-diffusion
|
| 16 |
+
- composition
|
| 17 |
+
- imagefolder
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Outpainted for Image Cropping
|
| 23 |
+
|
| 24 |
+
<p align="center">
|
| 25 |
+
<a href="./README.md">English</a> | <a href="./README_zh.md">涓枃</a>
|
| 26 |
+
</p>
|
| 27 |
+
|
| 28 |
+
## 鏁版嵁闆嗙畝浠?
|
| 29 |
+
鏈暟鎹泦鍖呭惈涓€鎵归€氳繃 **Stable Diffusion v2 Inpaint** 鎵╁浘寰楀埌鐨勫浘鍍忥紝浠ュ強姣忓紶鎵╁浘鍥惧儚涓€滃師濮嬪浘鍍忓尯鍩熲€濈殑杈圭晫妗嗘爣娉ㄣ€傛暟鎹泦涓昏闈㈠悜鍥惧儚瑁佸壀銆佸師濮嬬敾骞呮仮澶嶃€佹瀯鍥炬劅鐭ヨ鍓拰鎵╁浘鎰熺煡瑙嗚鐞嗚В绛夌爺绌朵换鍔°€?
|
| 30 |
+
姣忎釜鏍锋湰鍖呭惈锛?
|
| 31 |
+
- 涓€寮犳墿鍥惧悗鐨勫浘鐗囷紱
|
| 32 |
+
- `orig_bbox`锛氬師鍥惧湪鎵╁睍鐢诲竷涓殑浣嶇疆锛?- `composition_tags`锛氬浘鐗囨瀯鍥炬爣绛惧垪琛紝閮ㄥ垎涓虹┖銆?
|
| 33 |
+
## 鏁版嵁鐢熸垚娴佺▼
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
|
| 37 |
+
鏁版嵁鐢熸垚娴佺▼濡備笅锛?
|
| 38 |
+
1. 鏀堕泦涓撲笟鎽勫奖鍥剧墖鎴栭珮缇庡璇勫垎鍥剧墖銆?2. 鑾峰彇鎴栫敓鎴愬浘鍍忔弿杩帮紝渚嬪浣跨敤 BLIP 鐢熸垚 caption銆?3. 璁剧疆寰呮墿灞曡竟璺濄€?4. 浣跨敤 **Stable Diffusion v2 Inpaint** 瀵规墿灞曞尯鍩熻繘琛岃ˉ鍏ㄣ€?5. 浣跨敤姝i潰鎻愮ず璇嶇害鏉熺敓鎴愬唴瀹广€?6. 浣跨敤璐熼潰鎻愮ず璇嶅噺灏戜笉甯屾湜鍑虹幇鐨勫唴瀹癸紝渚嬪 `frame`銆乣border`銆乣text`銆乣watermark` 绛夈€?7. 瀵圭敓鎴愮粨鏋滆繘琛屼吉褰辨娴嬨€佷竴鑷存€ф娴嬨€?8. 杩涜浜哄伐鏍告煡銆?9. 淇濈暀閫氳繃璐ㄩ噺妫€鏌ョ殑鏍锋湰锛屽苟璁板綍鍘熷浘鍖哄煙 bbox锛屽舰鎴?training pairs銆?
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
`orig_bbox` 浣跨敤濡備笅鏍煎紡锛?
|
| 42 |
+
```text
|
| 43 |
+
[x_min, y_min, x_max, y_max]
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
璇?bbox 琛ㄧず鍘熷鍥惧儚鍖哄煙鍦ㄦ墿鍥惧悗鐢诲竷涓殑浣嶇疆锛岃€屼笉鏄洰鏍囨娴嬩腑鐨勭墿浣撴銆?
|
| 47 |
+
## 鏁版嵁鏉ユ簮
|
| 48 |
+
|
| 49 |
+
鏈暟鎹泦鐨勬簮鍥惧儚鏉ヨ嚜鎴栧弬鑰冧互涓嬪叕寮€鏁版嵁闆?浠撳簱锛?
|
| 50 |
+
1. **PICD: Photographic Image Composition Dataset**
|
| 51 |
+
https://github.com/CV-xueba/PICD_ImageComposition
|
| 52 |
+
|
| 53 |
+
2. **LAION Aesthetics v2 4.75**
|
| 54 |
+
https://huggingface.co/datasets/laion/aesthetics_v2_4.75
|
| 55 |
+
|
| 56 |
+
3. **Landscape-Dataset**
|
| 57 |
+
https://github.com/koishi70/Landscape-Dataset/tree/master
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
## 鏁版嵁缁撴瀯
|
| 61 |
+
|
| 62 |
+
```text
|
| 63 |
+
outpainted-for-image-cropping/
|
| 64 |
+
鈹溾攢鈹€ README.md
|
| 65 |
+
鈹溾攢鈹€ metadata.jsonl
|
| 66 |
+
鈹溾攢鈹€ stats.json
|
| 67 |
+
鈹斺攢鈹€ images/
|
| 68 |
+
鈹溾攢鈹€ img_000000.png
|
| 69 |
+
鈹溾攢鈹€ img_000001.png
|
| 70 |
+
鈹斺攢鈹€ ...
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
`metadata.jsonl` 涓瘡涓€琛屽搴斾竴涓牱鏈紝渚嬪锛?
|
| 74 |
+
```json
|
| 75 |
+
{
|
| 76 |
+
"file_name": "images/img_000000.png",
|
| 77 |
+
"orig_bbox": [281, 77, 881, 487],
|
| 78 |
+
"composition_tags": ["HORI2"]
|
| 79 |
+
}
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### 瀛楁璇存槑
|
| 83 |
+
|
| 84 |
+
- `file_name`锛氭墿鍥惧悗鍥剧墖鐨勭浉瀵硅矾寰勩€?- `orig_bbox`锛氬師鍥惧尯鍩熷湪鎵╁浘鐢诲竷涓殑杈圭晫妗嗭紝鏍煎紡涓?`[x_min, y_min, x_max, y_max]`銆?- `composition_tags`锛氫粠鍘熷鏁版嵁闆嗕腑瑙f瀽寰楀埌鐨勬瀯鍥炬爣绛惧垪琛ㄣ€傝嫢娌℃湁鍙潬鐨勬瀯鍥炬爣绛撅紝鍒欎负绌哄垪琛?`[]`銆?
|
| 85 |
+
## 鏁版嵁闆嗙粺璁?楂橀鏋勫浘鏍囩锛?
|
| 86 |
+
| 鏍囩 | 鏁伴噺 |
|
| 87 |
+
|---|---:|
|
| 88 |
+
| HORI2 | 1,956 |
|
| 89 |
+
| HORI3 | 1,694 |
|
| 90 |
+
| DIFFUSE | 1,600 |
|
| 91 |
+
| DENSE | 1,436 |
|
| 92 |
+
| DIA | 1,305 |
|
| 93 |
+
| LINE_VERTI3 | 1,156 |
|
| 94 |
+
| PATTERN | 1,000 |
|
| 95 |
+
| LINE_VERTI_MANY | 983 |
|
| 96 |
+
| POINT_MULTI_HORI | 64 |
|
| 97 |
+
| LINE_VERTI2 | 55 |
|
| 98 |
+
|
| 99 |
+
## 浣跨敤鏂瑰紡
|
| 100 |
+
|
| 101 |
+
浠?Hugging Face Hub 鍔犺浇锛?
|
| 102 |
+
```python
|
| 103 |
+
from datasets import load_dataset
|
| 104 |
+
|
| 105 |
+
dataset = load_dataset("zzsyppt/outpainted-for-image-cropping")
|
| 106 |
+
print(dataset)
|
| 107 |
+
print(dataset["train"][0])
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
鏈湴涓婁紶鍓嶆鏌ワ細
|
| 111 |
+
|
| 112 |
+
```python
|
| 113 |
+
from datasets import load_dataset
|
| 114 |
+
|
| 115 |
+
dataset = load_dataset("imagefolder", data_dir="./hf_dataset")
|
| 116 |
+
print(dataset)
|
| 117 |
+
print(dataset["train"][0])
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
棰勬湡瀛楁鍖呮嫭锛?
|
| 121 |
+
```text
|
| 122 |
+
image
|
| 123 |
+
orig_bbox
|
| 124 |
+
composition_tags
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
## 寮曠敤
|
| 128 |
+
|
| 129 |
+
鏈暟鎹泦浠呯敤浜庝釜浜虹敤閫斻€傚鏋滀娇鐢ㄦ湰鏁版嵁闆嗭紝璇锋牴鎹疄闄呬娇鐢ㄧ殑鏍锋湰鏉ユ簮寮曠敤瀵瑰簲涓婃父鏁版嵁闆嗐€?
|
| 130 |
+
### PICD
|
| 131 |
+
|
| 132 |
+
```bibtex
|
| 133 |
+
@inproceedings{zhao2025can,
|
| 134 |
+
title={Can Machines Understand Composition? Dataset and Benchmark for Photographic Image Composition Embedding and Understanding},
|
| 135 |
+
author={Zhao, Zhaoran and Lu, Peng and Zhang, Anran and Li, Peipei and Li, Xia and Liu, Xuannan and Hu, Yang and Chen, Shiyi and Wang, Liwei and Guo, Wenhao},
|
| 136 |
+
booktitle={Proceedings of the Computer Vision and Pattern Recognition Conference},
|
| 137 |
+
pages={14411--14421},
|
| 138 |
+
year={2025}
|
| 139 |
+
}
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
### LAION-Aesthetics
|
| 143 |
+
|
| 144 |
+
璇峰弬鑰?LAION 瀹樻柟椤甸潰鍜屽搴?Hugging Face 鏁版嵁闆嗛〉闈㈠紩鐢?LAION-Aesthetics / LAION-5B 鐩稿叧宸ヤ綔锛?
|
| 145 |
+
- https://laion.ai/blog/laion-aesthetics/
|
| 146 |
+
- https://huggingface.co/datasets/laion/aesthetics_v2_4.75
|
| 147 |
+
|
| 148 |
+
### Landscape-Dataset
|
| 149 |
+
|
| 150 |
+
璇峰弬鑰冨師濮嬩粨搴擄細
|
| 151 |
+
|
| 152 |
+
- https://github.com/koishi70/Landscape-Dataset/tree/master
|
| 153 |
+
|
| 154 |
+
## 鑷磋阿
|
| 155 |
+
|
| 156 |
+
鏈暟鎹泦鐨勭敓鎴愪娇鐢ㄤ簡 Stable Diffusion v2 Inpaint锛屽苟鍙傝€冩垨浣跨敤浜嗗叕寮€鍥惧儚鏁版嵁婧愩€傛劅璋笂娓告暟鎹泦銆佷粨搴撳拰妯″瀷鐨勫垱寤鸿€呬笌缁存姢鑰呫€?
|
assets/image-20260503132555963.png
ADDED
|
Git LFS Details
|
assets/pipeline_en.png
ADDED
|
Git LFS Details
|
images/img_000000.png
ADDED
|
Git LFS Details
|
images/img_000001.png
ADDED
|
Git LFS Details
|
images/img_000002.png
ADDED
|
Git LFS Details
|
images/img_000003.png
ADDED
|
Git LFS Details
|
images/img_000004.png
ADDED
|
Git LFS Details
|
images/img_000005.png
ADDED
|
Git LFS Details
|
images/img_000006.png
ADDED
|
Git LFS Details
|
images/img_000007.png
ADDED
|
Git LFS Details
|
images/img_000008.png
ADDED
|
Git LFS Details
|
images/img_000009.png
ADDED
|
Git LFS Details
|
images/img_000010.png
ADDED
|
Git LFS Details
|
images/img_000011.png
ADDED
|
Git LFS Details
|
images/img_000012.png
ADDED
|
Git LFS Details
|
images/img_000013.png
ADDED
|
Git LFS Details
|
images/img_000014.png
ADDED
|
Git LFS Details
|
images/img_000015.png
ADDED
|
Git LFS Details
|
images/img_000016.png
ADDED
|
Git LFS Details
|
images/img_000017.png
ADDED
|
Git LFS Details
|
images/img_000018.png
ADDED
|
Git LFS Details
|
images/img_000019.png
ADDED
|
Git LFS Details
|
images/img_000020.png
ADDED
|
Git LFS Details
|
images/img_000021.png
ADDED
|
Git LFS Details
|
images/img_000022.png
ADDED
|
Git LFS Details
|
images/img_000023.png
ADDED
|
Git LFS Details
|
images/img_000024.png
ADDED
|
Git LFS Details
|
images/img_000025.png
ADDED
|
Git LFS Details
|
images/img_000026.png
ADDED
|
Git LFS Details
|
images/img_000027.png
ADDED
|
Git LFS Details
|
images/img_000028.png
ADDED
|
Git LFS Details
|
images/img_000029.png
ADDED
|
Git LFS Details
|
images/img_000030.png
ADDED
|
Git LFS Details
|
images/img_000031.png
ADDED
|
Git LFS Details
|
images/img_000032.png
ADDED
|
Git LFS Details
|
images/img_000033.png
ADDED
|
Git LFS Details
|
images/img_000034.png
ADDED
|
Git LFS Details
|
images/img_000035.png
ADDED
|
Git LFS Details
|
images/img_000036.png
ADDED
|
Git LFS Details
|
images/img_000037.png
ADDED
|
Git LFS Details
|
images/img_000038.png
ADDED
|
Git LFS Details
|
images/img_000039.png
ADDED
|
Git LFS Details
|
images/img_000040.png
ADDED
|
Git LFS Details
|
images/img_000041.png
ADDED
|
Git LFS Details
|
images/img_000042.png
ADDED
|
Git LFS Details
|
images/img_000043.png
ADDED
|
Git LFS Details
|
metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
stats.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_rows": 17684,
|
| 3 |
+
"tag_counts": {
|
| 4 |
+
"HORI2": 1956,
|
| 5 |
+
"HORI3": 1694,
|
| 6 |
+
"DIFFUSE": 1600,
|
| 7 |
+
"DENSE": 1436,
|
| 8 |
+
"DIA": 1305,
|
| 9 |
+
"LINE_VERTI3": 1156,
|
| 10 |
+
"PATTERN": 1000,
|
| 11 |
+
"LINE_VERTI_MANY": 983,
|
| 12 |
+
"POINT_MULTI_HORI": 64,
|
| 13 |
+
"LINE_VERTI2": 55,
|
| 14 |
+
"POINT_SHAPE_CENT": 41,
|
| 15 |
+
"POINT_1_ROT": 37,
|
| 16 |
+
"SHAPE_VERTI_MID": 30,
|
| 17 |
+
"SPECIAL_O": 22,
|
| 18 |
+
"POINT_MULTI_TRI": 17,
|
| 19 |
+
"SCATTER": 15,
|
| 20 |
+
"SPECIAL_C": 14,
|
| 21 |
+
"POINT_MULTI_VERTI": 13,
|
| 22 |
+
"POINT_MULTI_DIA": 11,
|
| 23 |
+
"PERSPECTIVE": 9,
|
| 24 |
+
"SHAPE_VERTI_AVERAGE": 7,
|
| 25 |
+
"SPECIAL_TRIANGLE": 4,
|
| 26 |
+
"SHAPE_VERTI_ONESIDE": 3
|
| 27 |
+
},
|
| 28 |
+
"tag_combo_counts": {
|
| 29 |
+
"<EMPTY>": 6589,
|
| 30 |
+
"HORI2": 1826,
|
| 31 |
+
"DIFFUSE": 1598,
|
| 32 |
+
"HORI3": 1566,
|
| 33 |
+
"DENSE": 1422,
|
| 34 |
+
"DIA": 1278,
|
| 35 |
+
"LINE_VERTI3": 1077,
|
| 36 |
+
"LINE_VERTI_MANY": 980,
|
| 37 |
+
"PATTERN": 972,
|
| 38 |
+
"LINE_VERTI3+HORI3": 47,
|
| 39 |
+
"POINT_MULTI_HORI+HORI2": 30,
|
| 40 |
+
"LINE_VERTI3+HORI2": 28,
|
| 41 |
+
"POINT_MULTI_HORI+HORI3": 25,
|
| 42 |
+
"LINE_VERTI2+HORI2": 25,
|
| 43 |
+
"SHAPE_VERTI_MID+LINE_VERTI2": 23,
|
| 44 |
+
"POINT_1_ROT+HORI3": 18,
|
| 45 |
+
"POINT_SHAPE_CENT+HORI2": 16,
|
| 46 |
+
"POINT_MULTI_TRI+SPECIAL_O": 15,
|
| 47 |
+
"POINT_1_ROT+HORI2": 14,
|
| 48 |
+
"POINT_SHAPE_CENT+HORI3": 14,
|
| 49 |
+
"DENSE+PATTERN": 10,
|
| 50 |
+
"HORI3+HORI2": 10,
|
| 51 |
+
"POINT_SHAPE_CENT+DIA": 8,
|
| 52 |
+
"SCATTER+HORI3": 7,
|
| 53 |
+
"POINT_MULTI_VERTI+POINT_MULTI_DIA": 7,
|
| 54 |
+
"PATTERN+DIA": 7,
|
| 55 |
+
"PERSPECTIVE+SPECIAL_C": 6,
|
| 56 |
+
"SHAPE_VERTI_AVERAGE+POINT_MULTI_HORI": 5,
|
| 57 |
+
"SPECIAL_TRIANGLE+PATTERN": 4,
|
| 58 |
+
"SCATTER+DIA": 4,
|
| 59 |
+
"LINE_VERTI2+PATTERN": 4,
|
| 60 |
+
"SHAPE_VERTI_MID+SPECIAL_O": 3,
|
| 61 |
+
"POINT_MULTI_HORI+POINT_MULTI_DIA": 3,
|
| 62 |
+
"POINT_1_ROT+DIA": 3,
|
| 63 |
+
"POINT_MULTI_VERTI+SPECIAL_O": 3,
|
| 64 |
+
"HORI3+SPECIAL_C": 3,
|
| 65 |
+
"POINT_1_ROT+LINE_VERTI3": 2,
|
| 66 |
+
"PERSPECTIVE+DIA": 2,
|
| 67 |
+
"SHAPE_VERTI_AVERAGE+LINE_VERTI_MANY": 2,
|
| 68 |
+
"DENSE+SHAPE_VERTI_MID": 2,
|
| 69 |
+
"SHAPE_VERTI_ONESIDE+HORI2": 2,
|
| 70 |
+
"POINT_MULTI_VERTI+LINE_VERTI2": 2,
|
| 71 |
+
"SCATTER+PATTERN": 1,
|
| 72 |
+
"POINT_MULTI_HORI+SPECIAL_C": 1,
|
| 73 |
+
"SHAPE_VERTI_ONESIDE+HORI3": 1,
|
| 74 |
+
"POINT_MULTI_DIA+HORI3": 1,
|
| 75 |
+
"LINE_VERTI3+SPECIAL_C": 1,
|
| 76 |
+
"POINT_MULTI_TRI+HORI2": 1,
|
| 77 |
+
"LINE_VERTI3+PATTERN": 1,
|
| 78 |
+
"DIA+SPECIAL_C": 1,
|
| 79 |
+
"DENSE+PERSPECTIVE": 1,
|
| 80 |
+
"HORI2+SPECIAL_C": 1,
|
| 81 |
+
"SHAPE_VERTI_MID+DIFFUSE": 1,
|
| 82 |
+
"SCATTER+HORI2": 1,
|
| 83 |
+
"POINT_SHAPE_CENT+DIFFUSE": 1,
|
| 84 |
+
"DENSE+DIA": 1,
|
| 85 |
+
"POINT_SHAPE_CENT+LINE_VERTI2+HORI2": 1,
|
| 86 |
+
"SHAPE_VERTI_MID+HORI3": 1,
|
| 87 |
+
"PATTERN+LINE_VERTI_MANY": 1,
|
| 88 |
+
"POINT_MULTI_TRI+HORI3": 1,
|
| 89 |
+
"SCATTER+SPECIAL_C": 1,
|
| 90 |
+
"POINT_MULTI_VERTI+DIA": 1,
|
| 91 |
+
"HORI2+POINT_SHAPE_CENT": 1,
|
| 92 |
+
"SCATTER+SPECIAL_O": 1
|
| 93 |
+
}
|
| 94 |
+
}
|