Datasets:
Formats:
webdataset
Size:
10K - 100K
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- WikiArt
|
4 |
+
- art
|
5 |
+
- image-to-image
|
6 |
+
- Stable-Diffusion
|
7 |
+
- painting
|
8 |
+
- digital-art
|
9 |
+
- computer-vision
|
10 |
+
- dataset
|
11 |
+
- LANCZOS
|
12 |
+
- image-processing
|
13 |
+
- resized-images
|
14 |
+
- 768x768
|
15 |
+
- deep-learning
|
16 |
+
- convolutional-neural-networks
|
17 |
+
- feature-extraction
|
18 |
+
- image-classification
|
19 |
+
- machine-learning
|
20 |
+
size_categories:
|
21 |
+
- 10K<n<100K
|
22 |
+
---
|
23 |
+
# WikiArt Resized Dataset
|
24 |
+
|
25 |
+
## Description
|
26 |
+
This dataset contains 81,444 artistic images from WikiArt, organized into different artistic genres. The images have been resized to a uniform resolution of 768x768 pixels using LANCZOS resampling and padded to maintain aspect ratio, ensuring consistency for machine learning tasks and computational art analysis. The base for the dataset was [Dant33/WikiArt-81K-BLIP_2-captions](https://huggingface.co/datasets/Dant33/WikiArt-81K-BLIP_2-captions).
|
27 |
+
|
28 |
+
## Enhancements
|
29 |
+
|
30 |
+
### 1. Image Resizing with Padding
|
31 |
+
- All images have been resized to fit within **768x768 pixels** while maintaining their aspect ratio.
|
32 |
+
- The resizing was performed using `target_size=(768, 768), resample=Image.LANCZOS`, followed by padding with a black background to fill the remaining space.
|
33 |
+
- The filenames were updated to reflect this change by appending `_resize768` to the original filename.
|
34 |
+
|
35 |
+
### 2. Genre Normalization
|
36 |
+
- Each image is classified under a **single** main artistic genre.
|
37 |
+
- The dataset contains **27 main genres**:
|
38 |
+
|
39 |
+
| # | Genre | Size |
|
40 |
+
|----|------------------------------|-------|
|
41 |
+
| 1 | Impressionism | 13060 |
|
42 |
+
| 2 | Realism | 10733 |
|
43 |
+
| 3 | Romanticism | 7019 |
|
44 |
+
| 4 | Expressionism | 6736 |
|
45 |
+
| 5 | Post Impressionism | 6450 |
|
46 |
+
| 6 | Symbolism | 4528 |
|
47 |
+
| 7 | Art Nouveau Modern | 4334 |
|
48 |
+
| 8 | Baroque | 4240 |
|
49 |
+
| 9 | Abstract Expressionism | 2782 |
|
50 |
+
| 10 | Northern Renaissance | 2552 |
|
51 |
+
| 11 | Naive Art Primitivism | 2405 |
|
52 |
+
| 12 | Cubism | 2235 |
|
53 |
+
| 13 | Rococo | 2089 |
|
54 |
+
| 14 | Color Field Painting | 1615 |
|
55 |
+
| 15 | Pop Art | 1483 |
|
56 |
+
| 16 | Early Renaissance | 1391 |
|
57 |
+
| 17 | High Renaissance | 1343 |
|
58 |
+
| 18 | Minimalism | 1337 |
|
59 |
+
| 19 | Mannerism Late Renaissance | 1279 |
|
60 |
+
| 20 | Ukiyo e | 1167 |
|
61 |
+
| 21 | Fauvism | 934 |
|
62 |
+
| 22 | Pointillism | 513 |
|
63 |
+
| 23 | Contemporary Realism | 481 |
|
64 |
+
| 24 | New Realism | 314 |
|
65 |
+
| 25 | Synthetic Cubism | 216 |
|
66 |
+
| 26 | Analytical Cubism | 110 |
|
67 |
+
| 27 | Action painting | 98 |
|
68 |
+
|
69 |
+
### 3. Automatic Description Generation
|
70 |
+
- Each image includes a textual description generated using the [BLIP2](https://huggingface.co/Salesforce/blip2-opt-2.7b) model.
|
71 |
+
|
72 |
+
## Dataset Format
|
73 |
+
The dataset is structured in a CSV file with the following columns:
|
74 |
+
|
75 |
+
- **file_name**: Image filename, including the `_resize768` suffix.
|
76 |
+
- **genre**: Assigned artistic genre.
|
77 |
+
- **artist**: Artist's name.
|
78 |
+
- **painting_name**: Painting title, cleaned and formatted.
|
79 |
+
- **phash**: Perceptual hash of the image.
|
80 |
+
- **description**: Automatically generated image description.
|
81 |
+
- **subset**: Subset to which the image belongs (train or test).
|
82 |
+
|
83 |
+
### Example Entry
|
84 |
+
```
|
85 |
+
file_name,genre,artist,painting_name,phash,description,subset
|
86 |
+
Impressionism/william-merritt-chase_still-life-with-cockatoo_resize768.jpg,Impressionism,william merritt chase,still life with cockatoo,b0e24b85961e6de9,a painting of a white bird sitting on a vase,train
|
87 |
+
```
|
88 |
+
|
89 |
+
## Usage
|
90 |
+
This dataset is ideal for:
|
91 |
+
- Artistic style classification.
|
92 |
+
- Training deep learning models for image-based tasks.
|
93 |
+
- Automatic art description generation.
|
94 |
+
- Image retrieval and similarity analysis.
|
95 |
+
|