This model has been pushed to the Hub using the PytorchModelHubMixin integration:

How to load the model

wget https://raw.githubusercontent.com/SkyTNT/anime-segmentation/refs/heads/main/train.py
pip install pytorch_lightning kornia timm "huggingface_hub>=0.22"
from train import AnimeSegmentation
model = AnimeSegmentation.from_pretrained("skytnt/anime-seg")
Downloads last month
139
Safetensors
Model size
51M params
Tensor type
F32
Β·
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The HF Inference API does not support image-segmentation models for anime_segmentation library.

Spaces using skytnt/anime-seg 100