Datasets:
File size: 3,344 Bytes
545124e 7235ccf 545124e 7235ccf |
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
---
license: odbl
task_categories:
- image-classification
tags:
- art
- not-for-all-audiences
- anime
- visual-novel
- nsfw
- vndb
size_categories:
- 100K<n<1M
---
# Dataset Card for VNDB IMG
## Dataset Description
This is a π€ Datasets loader for the [vndb.org](https://vndb.org) image database dump.
It contains anime-style images flagged by users according to these categories:
* sexual content: safe/suggestive/explicit
* violence: tame/violent/brutal
## Loading Instructions
For licensing and "moral" reasons, the database dump has to be downloaded manually.
Please download the vndb.org database dump manually from <https://vndb.org/d14>.
Download the "Near-complete database" `vndb-db-latest.tar.zst` file.
Use `rsync` to download the 'Images' collection.
Create the following directory structure:
```
my/dataset/path
βββ db
β βββ vndb-db-latest.tar.zst
βββ vndb-img # this is the directory you downloaded with rsync
βββ ch
βββ cv
βββ sf
βββ st
βββ ...
```
Inside `my/dataset/path/db` run
```
zstd -d vndb-db-latest.tar.zst
```
and
```
tar -xf vndb-db-latest.tar
```
The final directory structure should look like this:
```
my/dataset/path
βββ db
β βββ vndb-db-latest.tar
β βββ vndb-db-latest.tar.zst
β βββ db
β βββ ...
βββ vndb-img
βββ ch
βββ cv
βββ sf
βββ st
βββ ...
```
Finally, load the dataset
```python
datasets.load_dataset('carbon225/vndb_img', data_dir='my/dataset/path')
```
## Dataset Structure
The following fields are provided:
```python
{
'index': datasets.Value('int32'),
'id': datasets.Value('string'),
'width': datasets.Value('int32'),
'height': datasets.Value('int32'),
'c_votecount': datasets.Value('int32'),
'c_sexual_avg': datasets.Value('int32'),
'c_sexual_stddev': datasets.Value('int32'),
'c_violence_avg': datasets.Value('int32'),
'c_violence_stddev': datasets.Value('int32'),
'c_weight': datasets.Value('int32'),
'type': datasets.ClassLabel(names=['character', 'cover', 'screenshot_full', 'screenshot_thumb']),
'sexual_class': datasets.ClassLabel(names=['safe', 'suggestive', 'explicit']),
'violence_class': datasets.ClassLabel(names=['tame', 'violent', 'brutal']),
'file_name': datasets.Value('string'),
'full_path': datasets.Value('string'),
'image': datasets.Image(),
}
```
## Supported Tasks
With a few modifications the data can be used for:
* image classification of NSFW material
* image generation/super-resolution/...
* ...
## Considerations for Using the Data
The images are ***hardcore***, to say the least. I recommend not looking.
## Licensing Information
Using this dataset requires the user to download data manually from vndb.org.
All information on VNDB is made available under the Open Database License.
Any rights in individual contents of the database are licensed under the Database Contents License.
With the following exceptions:
* Anime data is obtained from the AniDB.net UDP API and is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0.
* Images, visual novel descriptions and character descriptions are gathered from various online sources and may be subject to separate license conditions. |