Update README.md
Browse files
README.md
CHANGED
|
@@ -1,29 +1,150 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
data_files:
|
| 6 |
-
- split: original
|
| 7 |
-
path: data/original-*
|
| 8 |
-
- split: augmented
|
| 9 |
-
path: data/augmented-*
|
| 10 |
-
dataset_info:
|
| 11 |
-
features:
|
| 12 |
-
- name: image
|
| 13 |
-
dtype: image
|
| 14 |
-
- name: label
|
| 15 |
-
dtype:
|
| 16 |
-
class_label:
|
| 17 |
-
names:
|
| 18 |
-
'0': class_0
|
| 19 |
-
'1': class_1
|
| 20 |
-
splits:
|
| 21 |
-
- name: original
|
| 22 |
-
num_bytes: 428094611
|
| 23 |
-
num_examples: 35
|
| 24 |
-
- name: augmented
|
| 25 |
-
num_bytes: 30021154
|
| 26 |
-
num_examples: 385
|
| 27 |
-
download_size: 458137914
|
| 28 |
-
dataset_size: 458115765
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: default
|
| 5 |
+
data_files:
|
| 6 |
+
- split: original
|
| 7 |
+
path: data/original-*
|
| 8 |
+
- split: augmented
|
| 9 |
+
path: data/augmented-*
|
| 10 |
+
dataset_info:
|
| 11 |
+
features:
|
| 12 |
+
- name: image
|
| 13 |
+
dtype: image
|
| 14 |
+
- name: label
|
| 15 |
+
dtype:
|
| 16 |
+
class_label:
|
| 17 |
+
names:
|
| 18 |
+
'0': class_0
|
| 19 |
+
'1': class_1
|
| 20 |
+
splits:
|
| 21 |
+
- name: original
|
| 22 |
+
num_bytes: 428094611
|
| 23 |
+
num_examples: 35
|
| 24 |
+
- name: augmented
|
| 25 |
+
num_bytes: 30021154
|
| 26 |
+
num_examples: 385
|
| 27 |
+
download_size: 458137914
|
| 28 |
+
dataset_size: 458115765
|
| 29 |
+
language:
|
| 30 |
+
- en
|
| 31 |
+
pretty_name: a
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# Dataset Card for Dataset Name
|
| 35 |
+
|
| 36 |
+
<!-- Provide a quick summary of the dataset. -->
|
| 37 |
+
This dataset is designed for binary image classification of stop signs. It contains two splits: 'original' with 35 images and 'augmented' with 385 images. The augmented split was created by applying various image transformations to the original images to increase the dataset size and diversity for model training.
|
| 38 |
+
|
| 39 |
+
## Dataset Details
|
| 40 |
+
|
| 41 |
+
### Dataset Description
|
| 42 |
+
|
| 43 |
+
<!-- Provide a longer summary of what this dataset is. -->
|
| 44 |
+
This dataset contains images of signs with binary labels (class_0 == image has stop sign and class_1 == image doesn't have a stop sign). The 'original' split contains the raw images, while the 'augmented' split contains augmented versions of the images generated using various transformations like random resized crop, horizontal/vertical flips, rotation, color jitter, sharpness adjustment, and autocontrast.
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
- **Curated by:** Emily Copus
|
| 48 |
+
- **Shared by:** @ecopus (Hugging Face Hub)
|
| 49 |
+
- **Language(s) (NLP):** English
|
| 50 |
+
- **License:** apache-2.0
|
| 51 |
+
|
| 52 |
+
### Dataset Sources [optional]
|
| 53 |
+
|
| 54 |
+
<!-- Provide the basic links for the dataset. -->
|
| 55 |
+
|
| 56 |
+
- **Repository:** https://huggingface.co/datasets/ecopus/sign_identification
|
| 57 |
+
|
| 58 |
+
## Uses
|
| 59 |
+
|
| 60 |
+
<!-- Address questions around how the dataset is intended to be used. -->
|
| 61 |
+
|
| 62 |
+
### Direct Use
|
| 63 |
+
|
| 64 |
+
<!-- This section describes suitable use cases for the dataset. -->
|
| 65 |
+
This dataset can be used for training and evaluating image classification models for identifying the two classes of signs. The augmented split can be particularly useful for improving model generalization and robustness, especially with a limited number of original examples.
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Out-of-Scope Use
|
| 69 |
+
|
| 70 |
+
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|
| 71 |
+
This is a limited dataset, with a single, binary target assignment per image. Ultimately, this dataset is not suited to contribute to ML algorithms outside of the identification of specifically stop signs.
|
| 72 |
+
The user should refrain from utilizing models trained with this data for sensitive stop sign identification applications (i.e., self-driving applications).
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
## Dataset Structure
|
| 76 |
+
|
| 77 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
| 78 |
+
The dataset has two splits: 'original' and 'augmented'. Each split contains two features:
|
| 79 |
+
- image: A datasets.Image object representing the image.
|
| 80 |
+
- label: A datasets.ClassLabel object with two classes: 'class_0' and 'class_1'.
|
| 81 |
+
Class_0 refers to all images in which a stop sign is not present - conversely, class_1 refers to all images in which a stop sign is present.
|
| 82 |
+
The 'original' split contains 35 examples and the 'augmented' split contains 385 examples.
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
## Dataset Creation
|
| 86 |
+
|
| 87 |
+
### Curation Rationale
|
| 88 |
+
|
| 89 |
+
<!-- Motivation for the creation of this dataset. -->
|
| 90 |
+
This dataset was curated as a basic learning tool for implementing ML tools with image datasets. The simplicity of this dataset allows for easy implementation into basic ML binary classification algorithms, pefect for a first time user.
|
| 91 |
+
|
| 92 |
+
### Source Data
|
| 93 |
+
|
| 94 |
+
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
| 95 |
+
The images in this dataset were manually captured by the curator from non-disclosed locations.
|
| 96 |
+
|
| 97 |
+
#### Data Collection and Processing
|
| 98 |
+
|
| 99 |
+
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
|
| 100 |
+
Again, this data was collected and compiled manually. The criterion for an acceptable image was:
|
| 101 |
+
(a) contains some road sign
|
| 102 |
+
(b) the full sign can be seen in the image
|
| 103 |
+
(c) any text on the sign can be distinguished by the naked eye
|
| 104 |
+
Class_1 (stop sign is in the image) consists of about 50% of the original split.
|
| 105 |
+
|
| 106 |
+
#### Who are the source data producers?
|
| 107 |
+
|
| 108 |
+
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
|
| 109 |
+
This data was produced entirely by the curator.
|
| 110 |
+
|
| 111 |
+
#### Annotation process
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
| 114 |
+
Labels (1 or 0) were manually assigned to each image at their respective indices.
|
| 115 |
+
|
| 116 |
+
#### Who are the annotators?
|
| 117 |
+
|
| 118 |
+
<!-- This section describes the people or systems who created the annotations. -->
|
| 119 |
+
This dataset was annnotated by the curator.
|
| 120 |
+
|
| 121 |
+
#### Personal and Sensitive Information
|
| 122 |
+
|
| 123 |
+
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
|
| 124 |
+
This dataset contains no personal or sensitive information.
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
## Bias, Risks, and Limitations
|
| 128 |
+
|
| 129 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 130 |
+
Technical Limitations
|
| 131 |
+
- Small Original Dataset Size: The original dataset only contains 35 images, which is a very small number for training a robust image classification model. While data augmentation helps increase the number of examples, it doesn't introduce truly new information or diversity.
|
| 132 |
+
- Binary Classification: The dataset is limited to a binary classification problem (two classes). It cannot be used directly for multi-class sign identification without further annotation.
|
| 133 |
+
- HEIC Image Handling: The dataset was created by processing HEIC images. While the conversion to PNG was successful, relying on specific image formats and conversion processes can introduce potential issues or dependencies.
|
| 134 |
+
- Limited Augmentation Techniques: While several augmentation techniques were used, exploring a wider range of augmentations or more advanced techniques might be necessary for more sensitive applications.
|
| 135 |
+
Sociotechnical Limitations
|
| 136 |
+
- Lack of Diversity: The dataset might lack diversity in terms of variations in lighting conditions, angles, distances, occlusions, or different styles of the same sign, which could impact the model's performance in real-world scenarios. Most importantly, this dataset does not collect images across varying locations or weather conditions, making it unsuitable to be applied broadly.
|
| 137 |
+
- Ethical Considerations: Depending on the specific types of signs and their context, there could be ethical implications in developing a sign identification system, such as privacy concerns or the potential for misuse. Though this was carefully mitigated upon initial creation of this dataset, there are still possible safety implications of the widespread availability of these images.
|
| 138 |
+
- Generalizability: Due to the small size and potential biases, the dataset is unlikely to be representative of a broad population of signs, limiting the generalizability of models trained on it.
|
| 139 |
+
|
| 140 |
+
### Recommendations
|
| 141 |
+
|
| 142 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 143 |
+
|
| 144 |
+
Users should be aware of the risks, biases and limitations of the dataset before use (see above). Refrain from utilizing this dataset for applications outside of algorithm creation optimization/ education. This dataset should not be utilized to draw real-world conclusions.
|
| 145 |
+
|
| 146 |
+
## Dataset Card Authors
|
| 147 |
+
Emily Copus
|
| 148 |
+
|
| 149 |
+
## Dataset Card Contact
|
| 150 |
+
ecopus@andrew.cmu.edu
|