anime-seg / README.md
skytnt's picture
update license
493cb60 verified
|
Raw History Blame Contribute Delete
692 Bytes
metadata
library_name: anime_segmentation
tags:
  - image-segmentation
  - model_hub_mixin
  - pytorch_model_hub_mixin
license: apache-2.0

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")