File size: 2,109 Bytes
de2dce2
 
ea289c8
 
 
 
 
 
 
8282e79
ea289c8
 
de2dce2
ea289c8
 
 
7a038d2
ea289c8
7a038d2
ea289c8
 
 
 
 
 
 
 
 
 
 
066d431
ea289c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224717f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
license: mit
task_categories:
- image-classification
- image-to-image
- text-to-image
language:
- en
- ja
pretty_name: yandere2023
size_categories:
- 1M<n<10M
---

# Yandere2023: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset

<!-- yande.re -->

Yandere2023 is a comprehensive anime image dataset with over 1.2 million high-quality images sourced from various materials, including key frames, manga scans, artbooks, and more. While the average number of tags per image is relatively low, the dataset boasts a diverse collection of images with exceptional quality.

- **Shared by:** Nyanko Devs
- **Language(s):** English, Japanese
- **License:** MIT

## Uses

## Format

The goal of the dataset is to be as easy as possible to use immediately, avoiding obscure file formats, while allowing simultaneous research & seeding of the torrent, with easy updates.

Images are provided in the full original form (be that JPG, PNG, GIF or otherwise) for reference/archival purposes, and bucketed into 1000 subdirectories 0000–0999 (0-padded), which is the Yandere ID modulo 1000 (ie. all images in 0999/ have an ID ending in β€˜999’); IDs can be turned into paths by dividing & padding (eg. in Bash, BUCKET=$(printf "%04d" $(( ID % 1000 )) )) and then the file is at original/$BUCKET/$ID.$EXT. 

The reason for the bucketing is that a single directory would cause pathological filesystem performance, and modulo ID is a simple hash which spreads images evenly without requiring additional future directories to be made or a filesystem IO to check where the file is. The ID is not zero-padded and files end in the relevant extension, hence the file layout looks like this:

```bash
$ tree / | less

/
β”œβ”€β”€ yandere2023 -> /mnt/diffusionstorage/workspace/yandere/
β”‚   β”œβ”€β”€ metadata
β”‚   β”œβ”€β”€ readme.md
β”‚   β”œβ”€β”€ original
β”‚   β”‚   β”œβ”€β”€ 0000 -> data-0000.tar
β”‚   β”‚   β”œβ”€β”€ 0001 -> data-0001.tar
β”‚   β”‚   β”‚   β”œβ”€β”€ 10001.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ 210001.png
β”‚   β”‚   β”‚   β”œβ”€β”€ 3120001.webp
β”‚   β”‚   β”‚   β”œβ”€β”€ 6513001.jpg

```