PseudoTerminal X commited on
Commit
912c75f
1 Parent(s): a902aa4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -3
README.md CHANGED
@@ -1,3 +1,74 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ # Free-to-use Pixel Art
6
+
7
+ ## Dataset Details
8
+
9
+ This dataset was collected on 25th May, 2024.
10
+
11
+ It's a small subset of the free-to-use images on PixilArt.
12
+
13
+ At the time of publication, this dataset was covered by permissive terms that allow commercial use.
14
+
15
+ ### Dataset Description
16
+
17
+ This dataset is unique in that it contains the pixel group size for each collected sample, which might assist in experiments on microconditioning inputs on an adapter to control this value of the unit more precisely.
18
+
19
+ - **Curated by:** @pseudoterminalx
20
+ - **License:** Free-to-use, commercial license
21
+
22
+ ### Dataset Sources [optional]
23
+
24
+ - **Repository:** https://pixilart.com
25
+
26
+ ## Dataset Structure
27
+
28
+ A single parquet file contains several thousand rows, each row is a single sample. The dataset has been deduplicated and filtered.
29
+
30
+ The elements were extracted and transformed from the API via this code:
31
+
32
+ ```py
33
+ 'subset': f"{subset}",
34
+ 'sequence': f"{sequence}",
35
+ 'subset-sequence-element': f"{subset}.{sequence}.{element_idx}",
36
+ 'title': element['title'],
37
+ 'description': element['description'],
38
+ 'filename': f"{element['image_id']}-{element_idx} {element['title']}.png",
39
+ 'views': element['views'],
40
+ 'image_hash': element['image_id'],
41
+ 'image_url': element['image_url'],
42
+ 'full_image_url': element['full_image_url'],
43
+ 'likes_count': element['likes_count'],
44
+ 'pixel_size': element.get('pixel_size', 0),
45
+ 'has_watermark': element.get('has_watermark', False),
46
+ 'comments_count': element['comments_count'],
47
+ 'width': element['width'],
48
+ 'height': element['height'],
49
+ 'date_created': element['date_created'],
50
+ 'content_warning': element['content_warning'] if 'content_warning' in element else None,
51
+ 'warning': str(element['warning']),
52
+ 'liked': element['liked']
53
+ ```
54
+
55
+ Leading to the following fields in the dataset:
56
+
57
+ - subset (str) - the subset of the API this was retrieved from, eg. highlighted or staff-picks
58
+ - sequence (int) - a numeric index that is sent to the API to retrieve the next results
59
+ - subset-sequence-element (str) - a combined string used to index the dataset for unique entries
60
+ - title (str) - the original post title as returned via the API
61
+ - description (str) - the original post description
62
+ - filename (str) - a suggested filename to use for downloading the URL should you directly use this in a training tool
63
+ - views (int) - how many views this sample has
64
+ - image_hash (str) - not useful for validating image contents
65
+ - image_url (str) - a thumbnail of the image
66
+ - full_image_url (str) - the original, full-size image
67
+ - likes_count (int) - how many likes the post had
68
+ - pixel_size (int) - the pixel group size for the image, with lower values being more like simple MS Paint drawings
69
+ - has_watermark (bool) - the value returned by the API (defaulting to False if unavailable) telling us whether the image is watermarked
70
+ - comments_count (int) - how many comments the post had
71
+ - width, height (int) - the image dimensions
72
+ - content_warning (bool) - whether the content is deemed sensitive or potentially offensive by the vendor
73
+ - warning (str) - the contents of the warning text, explaining the potential problem
74
+ - liked (bool) - whether the image has been liked