SAVRN
Search Contact SAVRN

Open-weight model · Object detection

yolov8_animeface

by Fuyumi Fuyucchi/yolov8_animeface

Anime Face Detection using YOLOv8 Dataset was made created with 10 000 images manually annotated from safebooru. Split was train 70, val 20, test 10. This model is based on yolov8x6. It has been trained on the said dataset for 300 epoch at 1280px1280px.

Parameters
Context
Weights195.4 MB
Licenseagpl-3.0
AccessOpen weights
Monthly Downloads14.5k

Model Card

By Fuyumi, published under agpl-3.0, revision b0841ce93045.

Anime Face Detection using YOLOv8 Dataset was made created with 10 000 images manually annotated from safebooru. Split was train 70, val 20, test 10. This model is based on yolov8x6. It has been trained on the said dataset for 300 epoch at 1280px1280px. It took ~110 hours to train on a RTX A4000. On my dataset, the model performs particularly well with the default parameters. While it doesn't provide a huge mAP50-95, its predictions are always correct on the files I've tested. Confidence could be higher, but the model is very precise. Confusion matrix of the model, generated on the test set PR curve of the model, generated on the test set Other metrics are available in the./demo/val…

Read Fuyumi's full model card

Anime Face Detection using YOLOv8

Dataset

Dataset was made created with 10 000 images manually annotated from safebooru. Split was train 70, val 20, test 10.

Performance

This model is based on yolov8x6. It has been trained on the said dataset for 300 epoch at 1280px*1280px. It took ~110 hours to train on a RTX A4000.

On my dataset, the model performs particularly well with the default parameters.

Images  Instances    Box(P        R      mAP50     mAP50-95):
1002       1562      0.957      0.924      0.955      0.534
Speed: 1.3ms preprocess, 81.9ms inference, 0.0ms loss, 0.8ms postprocess per image

While it doesn't provide a huge mAP50-95, its predictions are always correct on the files I've tested. Confidence could be higher, but the model is very precise.

Confusion matrix of the model, generated on the test set

PR curve of the model, generated on the test set

Other metrics are available in the ./demo/val subfolder.

Demo

Manual annotation yolov8_animeface

Comparison with an existing model

While we can argue about the comparison between two models from different generations, I believe it is interesting to compare this model with zymk9's model, based on yolov5. They both have the same purpose and were trained in the same fashion.

On the same dataset with the same parameters (conf=0.001 & iou=0.6), yolov8x6-animeface produces better metrics than the one on yolov5x.

yolov8-animeface:

Images  Instances    Box(P        R      mAP50     mAP50-95):
1002       1562      0.956      0.919      0.953      0.532
Speed: 1.2ms preprocess, 81.2ms inference, 0.0ms loss, 1.0ms postprocess per image

yolov5-anime:

Images  Instances    Box(P        R      mAP50     mAP50-95):
1003       1566      0.778      0.685      0.633      0.232
Speed: 1.5ms pre-process, 85.5ms inference, 1.4ms NMS per image at shape (32, 3, 1280, 1280)

yolov5-anime provides better results when images are resized at 640px, but it still is inferior to yolov8-animeface with the same parameters. Surprisingly enough, yolov5 is way more confident that yolov8. However, it also has way more false positives.

Yolov8_animeface Yolov5_anime

Conclusion

While this model performs greatly on my dataset, my metrics can differ from yours. One lighter model might be released on a later occasion.

Based on YOLOv8 by Jocher, G., Chaurasia, A., & Qiu, J. (2023). Ultralytics YOLO (Version 8.0.0) [Computer software]. https://github.com/ultralytics/ultralytics

Identity and Version

Repository
Fuyucchi/yolov8_animeface
Publisher
Fuyumi
Task
Object detection
Modality
Image
Library
ultralytics
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
b0841ce930453c0f23ceb8086d6554c17de5fe4a
First published
2024-10-14
Last updated
2024-10-14

Files and Weights

20 files, 206.8 MB in total. The weights are 1 file totalling 195.4 MB in pt.

Weights1 file · 195.4 MB
Documentation1 file · 3.9 KB
Other17 files · 11.4 MB
Repository1 file · 1.8 KB
Every file
FileTypeSizeSHA-256
yolov8x6_animeface.ptWeights195.4 MB f3cdc1a62663
README.mdDocumentation3.9 KB
demo/comparison/credits.txtOther228 B
demo/comparison/test_priconne.pngOther1.4 MB c066a9b0f5f8
demo/comparison/test_uma.pngOther2.3 MB 259cce507e33
demo/comparison/yolov5_anime/test_priconne.jpgOther219.6 KB
demo/comparison/yolov5_anime/test_uma.jpgOther477.9 KB
demo/comparison/yolov8_animeface/test_priconne.pngOther1.6 MB 1f2d7aa11026
demo/comparison/yolov8_animeface/test_uma.pngOther2.2 MB d85eb0823e88
demo/val/F1_curve.pngOther88.0 KB
demo/val/PR_curve.pngOther83.9 KB
demo/val/P_curve.pngOther81.0 KB
demo/val/R_curve.pngOther92.5 KB
demo/val/confusion_matrix.pngOther91.9 KB
demo/val/confusion_matrix_normalized.pngOther87.0 KB
demo/val/val_batch1_labels.jpgOther672.1 KB
demo/val/val_batch1_pred.jpgOther678.4 KB
demo/val/val_batch2_labels.jpgOther640.4 KB
demo/val/val_batch2_pred.jpgOther652.8 KB
.gitattributesRepository1.8 KB

License and Download

License
agpl-3.0
Access
Open weights, no gate
Download size
195.4 MB
Download from Fuyumi

Released by Fuyumi through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published195.4 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About yolov8_animeface

Can I use yolov8_animeface commercially?

Yes, with conditions. yolov8_animeface is released under GNU Affero General Public License 3.0. The AGPL 3.0 is a strong copyleft license. Commercial use is allowed, but a modified version made available to users over a network must be released with its source code under the same license.

Similar Models

Model · Object detection

locate-anything.cpp-gguf

Mudler

GGUF builds of nvidia/LocateAnything-3B for locate-anything.cpp - a C++/ggml inference engine for open-vocabulary detection / visual grounding, no Python at inference time. Brought to you by the LocalAI team. The detections are the same as the official PyTorch implementation (the engine is parity-gated against it), and it runs faster - on CPU and GPU. The full-precision f32 GGUF (~15 GB) is reproducible from the HF weights with scripts/convertlocateanythingtogguf.py in the repo. Same detections as the official model, faster. Full methodology, the warm/median setup, parity checks, and more images are in the repo's Slow-mode inference on the 448 fixture; vs official divides the official…

Open weights other gguf

Model · Object detection

Anzhcs_YOLOs

Anzhc

YOLOs in this repo are trained with datasets that i have annotated myself, or with the help of my friends(They will be appropriately mentioned in those cases). YOLOs on open datasets will have their own pages. Ultralytics 8.3.217 updates mask handling, which breaks function in main Adetailer repo. Install Ultralytics==8.3.216 or lower. Alternatively - use forks that fix this. - Fixed in main repo. I've added some features to make Adetailer more usable and less manual - https://github.com/Anzhc/aadetailer-reforge Im open to commissions, hit me up in Discord - anzhc P.S. All model names in tables have download links attached:3 Series of models aiming at detecting and segmenting face…

Open weights agpl-3.0 ultralytics

This is a fine-tuned version of YOLOv11 (n, s, m, l, x) specialized for License Plate Detection, using a public dataset from Roboflow Universe: The upstream Roboflow dataset (license-plate-recognition-rxg4e) contains train/test contamination — the same source images appear in both the training and test splits with only minor manual augmentation applied (see Discussion #2 for concrete examples). As a result: - The reported metrics below are likely overestimated, because the test set is not a true held-out evaluation. - Real-world generalization performance is expected to be lower than the numbers in the table. - Treat all evaluation figures with caution and validate the model on your own…

Open weights agpl-3.0 ultralytics

Model · Object detection

surya_layout2

Datalab

A lightweight document layout detection model used by Surya. It detects layout regions (text, tables, figures, headers, captions, equations, etc.) on a page image and runs on CPU or GPU. This is the "fast" layout detector — a compact object detector that serves as a drop-in alternative to Surya's VLM-based layout model. Documentation, installation, and everything else lives in the Point the fast layout predictor at this checkpoint: Or make it the default so the CLI and library use it without an explicit path: Released under the AI Pubs OpenRAIL-M license (see LICENSE) — the same license as the surya-ocr-2 model weights.

Open weights openrail surya

Model · Object detection

detr-resnet-50

Joshua

https://huggingface.co/facebook/detr-resnet-50 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Test it out here, or create your own object-detection demo with 1 click! Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 1,024 tokens transformers.js