---
title: anime_rating
canonical_url: "https://www.modelscope.cn/models/deepghs/anime_rating"
md_url: "https://www.modelscope.cn/models/deepghs/anime_rating.md"
repository: deepghs/anime_rating
last_updated: 2024-12-04
license: mit
pipeline_tag: image-classification
tasks:
  - image-classification
library_name:
  - onnx
  - pytorch
frameworks:
  - pytorch
downloads: 1335
stars: 0
tags:
  - art
---

# anime_rating

> anime_rating - deepghs 在 ModelScope 开源的模型。Image rating (safe, r15, r18) prediction model.

deepghs/anime_rating 是 ModelScope 魔搭社区上的image-classification模型，采用 mit 许可。

- **Repository**: deepghs/anime_rating
- **License**: mit
- **Tasks**: image-classification
- **Tags**: art
- **Downloads**: 1335
- **Stars**: 0
- **Last updated**: 2024-12-04

Source: https://www.modelscope.cn/models/deepghs/anime_rating

---

Image rating (`safe`, `r15`, `r18`) prediction model.

Please note that due to the often unclear boundaries between `safe`, `r15` and `r18` levels, there is no objective ground truth for this task, and the data is scraped without any manual filtering. Therefore, the models trained on this dataset can only provide rough judgments. If you require an accurate solution for classifying `R18` images, it is recommended to consider a solution based on keypoint object detection.

|         Model        |  FLOPs | Accuracy |                                                  Confusion Matrix                                                 | Description                                                          |
|:--------------------:|:------:|:--------:|:-----------------------------------------------------------------------------------------------------------------:|----------------------------------------------------------------------|
|   caformer_s36_plus  | 22.10G |  74.26%  |   [Confusion Matrix](https://huggingface.co/deepghs/anime_rating/blob/main/caformer_s36_plus/plot_confusion.png)  | Model: caformer_s36.sail_in22k_ft_in1k_384 pratrained from timm      |
|      mobilenetv3     |  0.63G |  64.77%  |      [Confusion Matrix](https://huggingface.co/deepghs/anime_rating/blob/main/mobilenetv3/plot_confusion.png)     | Model: mobilenetv3_large_100 from timm                               |
|    mobilenetv3_sce   |  0.63G |  66.27%  |    [Confusion Matrix](https://huggingface.co/deepghs/anime_rating/blob/main/mobilenetv3_sce/plot_confusion.png)   | Model: mobilenetv3_large_100 from timm, use SCELoss as loss function |
| mobilenetv3_sce_dist |  0.63G |  69.49%  | [Confusion Matrix](https://huggingface.co/deepghs/anime_rating/blob/main/mobilenetv3_sce_dist/plot_confusion.png) | Distillated from caformer_s36_plus, using mobilenetv3_large_100      |
