trojblue commited on
Commit
36e92a2
·
verified ·
1 Parent(s): f953aee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -0
README.md CHANGED
@@ -28,3 +28,84 @@ configs:
28
  - split: test
29
  path: data/test-*
30
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  - split: test
29
  path: data/test-*
30
  ---
31
+
32
+ # AVA Aesthetics 10% Subset (min50, 10 bins)
33
+
34
+ This dataset is a curated 10% subset of the [AVA Aesthetics Dataset](https://github.com/christopher-beckham/AVA_dataset) (or the original AVA dataset as described in [Murray et al., 2012](#citation)). It includes images that have at least 50 total votes and have been stratified into 10 bins based on their computed mean aesthetic scores.
35
+
36
+ ## Dataset Overview
37
+
38
+ - **Dataset Name:** AVA Aesthetics 10% Subset (min50, 10 bins)
39
+ - **Subset Size:** 10% of the original AVA dataset (after filtering for a minimum of 50 votes per image)
40
+ - **Filtering Criteria:** Only images with ≥50 votes were considered.
41
+ - **Stratification:** Images were binned into 10 equally spaced intervals across the score range (1 to 10), and a random 10% sample was selected from each bin.
42
+ - **Image Format:** JPEG (files with `.jpg` extension)
43
+ - **Data Fields:**
44
+ - `image_id`: Unique identifier of the image.
45
+ - `image`: The image file (loaded as an `Image` feature in Hugging Face Datasets).
46
+ - `mean_score`: The mean aesthetic score computed from the rating counts.
47
+ - `total_votes`: Total number of votes received by the image.
48
+ - `rating_counts`: A list representing the count of votes for scores 1 through 10.
49
+
50
+ ## Dataset Creation Process
51
+
52
+ 1. **Parsing the AVA.txt File:**
53
+ - Each line in `AVA.txt` contains metadata for an image including the image ID and counts for ratings 1 through 10.
54
+ - Total votes and the mean score are computed as:
55
+ - **Total Votes:** Sum of counts for ratings 1–10.
56
+ - **Mean Score:** \( \text{mean\_score} = \frac{\sum_{i=1}^{10} i \times \text{count}_i}{\text{total\_votes}} \).
57
+
58
+ 2. **Filtering:**
59
+ - Images with fewer than 50 total votes are removed to ensure label stability and reduce noise.
60
+
61
+ 3. **Stratification:**
62
+ - The images are grouped into 10 bins based on their mean score. This stratification helps maintain a balanced representation of aesthetic quality across the dataset.
63
+
64
+ 4. **Sampling:**
65
+ - From each bin, 10% of the images are randomly selected to form the final subset.
66
+
67
+ 5. **Conversion to Hugging Face Dataset:**
68
+ - The resulting data is transformed into a Hugging Face Dataset with the following fields: `image_id`, `image`, `mean_score`, `total_votes`, and `rating_counts`.
69
+ - The dataset is then split into train and test sets (default split: 90% train, 10% test).
70
+
71
+ ## Intended Use Cases
72
+
73
+ - **Aesthetic Quality Assessment:** Developing models to predict image aesthetics.
74
+ - **Computer Vision Research:** Studying features associated with aesthetic judgments.
75
+ - **Benchmarking:** Serving as a balanced subset for rapid experimentation and validation of aesthetic scoring models.
76
+
77
+ ## Limitations and Considerations
78
+
79
+ - **Subset Size:** Being only 10% of the original dataset, this subset may not capture the full diversity of the AVA dataset.
80
+ - **Sampling Bias:** The stratification and random sampling approach might introduce bias if certain bins are underrepresented.
81
+ - **Missing Files:** Some images may be absent if the corresponding JPEG file was not found in the provided directory.
82
+ - **Generalization:** Models trained on this subset should be evaluated on larger datasets or additional benchmarks to ensure generalization.
83
+
84
+ ## How to Use
85
+
86
+ You can load the dataset directly using the Hugging Face `datasets` library:
87
+
88
+ ```python
89
+ from datasets import load_dataset
90
+
91
+ dataset = load_dataset("trojblue/ava-aesthetics-10pct-min50-10bins")
92
+ print(dataset)
93
+ ```
94
+
95
+ ## Citation
96
+
97
+ If you use this dataset in your research, please consider citing the original work:
98
+
99
+ ```bibtex
100
+ @inproceedings{murray2012ava,
101
+ title={AVA: A Large-Scale Database for Aesthetic Visual Analysis},
102
+ author={Murray, N and Marchesotti, L and Perronnin, F},
103
+ booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
104
+ pages={3--18},
105
+ year={2012}
106
+ }
107
+ ```
108
+
109
+ ## License
110
+
111
+ Please refer to the license of the original AVA dataset and ensure that you adhere to its terms when using this subset.