Skip to content
ModelListedExternal
Download

Ai Image Corrupted

This is the classifier model for predicting the anime-style stable-diffusion-generated images are corrupted or not.

KindOtherVersionRevision db1cb05

Model source

Kind
Other
File size
16.0–157 MB
Version
vRevision db1cb05
Updated
Sep 28, 2026
Downloads
0
Source
Hugging Face

Source description

This is the classifier model for predicting the anime-style stable-diffusion-generated images are corrupted or not.

Trained on dataset deepghs/ai_image_corrupted.

Models

NameFLOPSParamsAccuracyAUCConfusionLabels
caformer_s36_v0_focal22.10G37.21M95.65%0.9916confusioncorrupted, normal
caformer_s36_v0_sce22.10G37.21M95.77%0.9894confusioncorrupted, normal
mobilenetv3_v0_focal_dist0.63G4.18M94.02%0.9842confusioncorrupted, normal

How to Use

You can use this model with dghs-imgutils.

from imgutils.generic import classify_predict_score

classify_predict_score(
    'sample_image.png',
    repo_id='deepghs/ai_image_corrupted',
    model_name='mobilenetv3_v0_focal_dist',
)
# {'corrupted': 0.7807788848876953, 'normal': 0.2192210853099823}

Note

This model is trained on SD1.5 images, generated by 8 different base models.

So the better solution for this problem is to use some metrics like artstyle embeddings, this model will be deprecated as soon as the artstyle embedding model for anime images is completed.

Citation

@misc{Citation,
  title={AI-Corrupt Score for Anime Images},
  author={narugo1992},
  year={2023},
  howpublished={\url{https://huggingface.co/deepghs/ai_image_corrupted}}
}

Sources

1 source
Hugging FacePrimaryVersion db1cb05e2f5ae97c731b0a73d76248bde51923ef
huggingface.co/Library-Mutsumi/ai_image_corrupted/tree/db1cb05e2f5ae97c731b0a73d76248bde51923ef

Verified Sep 28

Model artifacts

6 artifacts

caformer_s36_v0_focal/model.ckpt

ckpt · 157 MB · SHA-256 3268bf908470…d7e6 · Hugging Face

Download

caformer_s36_v0_focal/model.onnx

onnx · 143 MB · SHA-256 ae63bb14ab82…b5b4 · Hugging Face

Download

caformer_s36_v0_sce/model.ckpt

ckpt · 157 MB · SHA-256 1e8d5d4946c7…8fe1 · Hugging Face

Download

caformer_s36_v0_sce/model.onnx

onnx · 143 MB · SHA-256 42a6cbf35bc9…183f · Hugging Face

Download

mobilenetv3_v0_focal_dist/model.ckpt

ckpt · 30.6 MB · SHA-256 51595a9c67e8…7968 · Hugging Face

Download

mobilenetv3_v0_focal_dist/model.onnx

onnx · 16.0 MB · SHA-256 8b1b50ff2d97…7b7d · Hugging Face

Download

Source excerpts

2 excerpts

--- license: openrail metrics: - accuracy pipeline_tag: image-classification tags: - art datasets: - deepghs/ai_image_corrupted library_name: dghs-imgutils --- This is the classifier model for predicting the anime-style stable-diffusion-generated images are corrupted or not. Trained on dataset [deepghs/ai_image_corrupted](https://huggingface.co/datasets/deepghs/ai_image_corrupted). ## Models | Name | FLOPS | Params | Accuracy | AUC | Confusion | Labels | |:-------------------------:|:-------:|:--------:|:----------:|:------:|:---------------------------------------------------------------------------------------------------------------------:|:---------------------:| | caformer_s36_v0_focal | 22.10G | 37.21M | 95.65% | 0.9916 | [confusion](https://huggingface.co/deepghs/ai_image_corrupted/blob/main/caformer_s36_v0_focal/plot_confusion.png) | `corrupted`, `normal` | | caformer_s36_v0_sce | 22.10G | 37.21M | 95.77% | 0.9894 | [confusion](https://huggingface.co/deepghs/ai_image_corrupted/blob/main/caformer_s36_v0_sce/plot_confusion.png) | `corrupted`, `normal` | | mobilenetv3_v0_focal_dist | 0.63G | 4.18M | 94.02% | 0.9842 | [confusion](https://huggingface.co/deepghs/ai_image_corrupted/blob/main/mobilenetv3_v0_focal_dist/plot_confusion.png) | `corrupted`, `normal` | ## How to Use You can use this model with [dghs-imgutils](https://dghs-imgutils.deepghs.org/main/api_doc/generic/classify.html). ```python from imgutils.generic import classify_predict_score classify_predict_score( 'sample_image.png', repo_id='deepghs/ai_image_corrupted', model_name='mobilenetv3_v0_focal_dist', ) # {'corrupted': 0.7807788848876953, 'normal': 0.2192210853099823} ``` ## Note This model is trained on SD1.5 images, generated by 8 different base models. So the better solution for this problem is to use some metrics like artstyle embeddings, this model will be deprecated as soon as the artstyle embedding model for anime images is completed. ## Citation ``` @misc{Citation, title={AI-Corrupt Score for Anime Images}, author={narugo1992}, year={2023}, howpublished={\url{https://huggingface.co/deepghs/ai_image_corrupted}} } ```

Source context: 0 downloads · 0 likes · Pipeline image-classification · Library dghs-imgutils · Repo Library-Mutsumi/ai_image_corrupted