AllanK24 commited on
Commit
d7e959f
·
verified ·
1 Parent(s): 4cadd3a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +103 -0
README.md CHANGED
@@ -29,3 +29,106 @@ configs:
29
  - split: test
30
  path: data/test-*
31
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  - split: test
30
  path: data/test-*
31
  ---
32
+
33
+
34
+ ```markdown
35
+ ---
36
+ license: cc-by-nc-4.0
37
+ task_categories:
38
+ - image-segmentation
39
+ - semantic-segmentation
40
+ language:
41
+ - en
42
+ tags:
43
+ - material-segmentation
44
+ - apple-dms
45
+ - scene-parsing
46
+ - segformer
47
+ size_categories:
48
+ - 10k<n<100k
49
+ ---
50
+
51
+ # Apple Dense Material Segmentation (DMS) Dataset
52
+
53
+ This dataset is a reconstructed version of the **Apple Dense Material Segmentation (DMS)** dataset, originally introduced in the ECCV 2022 paper *"A Dense Material Segmentation Dataset for Indoor and Outdoor Scene Parsing"*.
54
+
55
+ It pairs high-quality dense material masks (provided by Apple) with the corresponding real-world images from the Open Images dataset.
56
+
57
+ **Repository:** [AllanK24/apple-dms-materials](https://huggingface.co/datasets/AllanK24/apple-dms-materials)
58
+
59
+ ## Dataset Summary
60
+
61
+ - **Total Samples:** ~41,385 image-mask pairs
62
+ - **Classes:** 46 material categories (e.g., Wood, Glass, Plastic, Metal, Fabric)
63
+ - **Task:** Semantic Segmentation
64
+ - **Origin:** Reassembled from [Apple's Official Repository](https://github.com/apple/ml-dms-dataset) and Open Images archives.
65
+
66
+ ### Missing Data Note
67
+ This dataset was reconstructed in 2026. Due to "internet rot" (images being deleted from Flickr and Open Images S3 buckets over the years), approximately **~6% of the original images are permanently lost**.
68
+ - **Original Dataset Size:** ~44,500 images
69
+ - **Current Dataset Size:** ~41,385 images
70
+ - **Status:** The dataset is ~94% complete and fully functional for training state-of-the-art segmentation models.
71
+
72
+ ## Usage
73
+
74
+ You can load this dataset directly using the Hugging Face `datasets` library.
75
+
76
+ ```python
77
+ from datasets import load_dataset
78
+
79
+ # Load the dataset
80
+ dataset = load_dataset("AllanK24/apple-dms-materials")
81
+
82
+ # Inspect a single example
83
+ example = dataset["train"][0]
84
+ image = example["image"]
85
+ mask = example["label"]
86
+ image_id = example["image_id"]
87
+
88
+ print(f"Loaded image {image_id} with size {image.size}")
89
+
90
+ ```
91
+
92
+ ### Class Labels & Taxonomy
93
+
94
+ The dataset includes a `class_info.json` file containing the mapping between label IDs and material names.
95
+
96
+ * **Background/Void:** Depending on the configuration, ID 0 or 255 is often used for void. Check `class_info.json` for the exact ID mapping.
97
+ * **Classes:** 46 standard materials.
98
+
99
+ ## Dataset Structure
100
+
101
+ The dataset is divided into three standard splits:
102
+
103
+ | Split | Samples |
104
+ | --- | --- |
105
+ | `train` | ~30,000 |
106
+ | `validation` | ~5,000 |
107
+ | `test` | ~6,000 |
108
+
109
+ ## Licensing
110
+
111
+ This dataset is a composite of two sources with different licenses:
112
+
113
+ 1. **Annotations (Masks):** Created by Apple. Distributed under the license specified in the [Apple ML-DMS Repository](https://github.com/apple/ml-dms-dataset) (Copyright © 2022 Apple Inc.).
114
+ 2. **Images:** Sourced from Open Images (Flickr). These images retain their original Creative Commons licenses (typically CC-BY 2.0 or CC-BY 4.0) as defined by their original photographers.
115
+
116
+ **Disclaimer:** This repository is a redistribution of the reconstructed dataset for research convenience. Users are responsible for adhering to the licenses of both the image sources and the annotation providers.
117
+
118
+ ## Citation
119
+
120
+ If you use this dataset, please cite the original Apple paper:
121
+
122
+ ```bibtex
123
+ @inproceedings{upchurch2022dense,
124
+ title={A Dense Material Segmentation Dataset for Indoor and Outdoor Scene Parsing},
125
+ author={Upchurch, Paul and Niu, Ransen},
126
+ booktitle={European Conference on Computer Vision (ECCV)},
127
+ year={2022}
128
+ }
129
+
130
+ ```
131
+
132
+ ```
133
+
134
+ ```