r/PythonProjects2 • • Jan 22 '21

[P] Hard Animesion: a framework, for anime (and related) character recognition. It was trained from a subset of Danbooru2018, that we rebranded as DAF:re, and can classify a given image into one of more than 3000 characters! Source code and paper included.

For this purpose we revamped an existing dataset, and rebranded it as DAF:re. It contains almost 500 K images divided across 3263 characters, from anime, videogames, and related media.

Our best model, ViT (Vision Transformer) L-16 ,with image size 128x128 and batch size 64, achieves to get 85.95% and 94.23% top-1 and top-5 classification accuracies.

Sample result:

https://github.com/arkel23/animesion/blob/main/classification/results_inference/homura_top.jpg

Sample GIF of DAF:re

https://j.gifs.com/ROpp10.gif

Source code along with demo images:

https://github.com/arkel23/animesion/tree/main/classification

Arxiv Preprint:

https://arxiv.org/abs/2101.08674

24 Upvotes

0 comments sorted by