Instructions to use shadowlilac/aesthetic-shadow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shadowlilac/aesthetic-shadow with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="shadowlilac/aesthetic-shadow") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("shadowlilac/aesthetic-shadow") model = AutoModelForImageClassification.from_pretrained("shadowlilac/aesthetic-shadow") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("shadowlilac/aesthetic-shadow")
model = AutoModelForImageClassification.from_pretrained("shadowlilac/aesthetic-shadow")Aesthetic Shadow
Aesthetic Shadow is a 1.1b parameters visual transformer designed to evaluate the quality of anime images. It accepts high-resolution 1024x1024 images as input and provides a prediction score that quantifies the aesthetic appeal of the artwork. Leveraging cutting-edge deep learning techniques, this model excels at discerning fine details, proportions, and overall visual coherence in anime illustrations.
If you do decide to use this model for public stuff, attribution would be appreciated :)
How to Use
See Jupyter Notebook in files
Disclosure
This model does not intend to be offensive towards any artist and may not output an accurate label for an image. A potential use case would be low quality images filtering on image datasets.
- Downloads last month
- 84
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="shadowlilac/aesthetic-shadow") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")