Instructions to use marimona/ToonOut-CoreML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use marimona/ToonOut-CoreML with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("marimona/ToonOut-CoreML", trust_remote_code=True)# Option 2: use with BiRefNet # Install from https://github.com/ZhengPeng7/BiRefNet from models.birefnet import BiRefNet model = BiRefNet.from_pretrained("marimona/ToonOut-CoreML") - Notebooks
- Google Colab
- Kaggle
|
Download pal4/README.md from marimona/ToonOut-CoreML: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/marimona/ToonOut-CoreML/resolve/main/pal4/README.md
- Command line
-
hf download hf://marimona/ToonOut-CoreML/pal4/README.md
-
curl -L -o README.md https://huggingface.co/marimona/ToonOut-CoreML/resolve/main/pal4/README.md
471 Bytes
| # ToonOut Core ML (pal4) | |
| - Upstream model: `joelseytre/toonout` @ `cbf720eca394edcde66b861a8a8c20fbabe9c748` (MIT) | |
| - Architecture: `ZhengPeng7/BiRefNet` @ `e2bf8e4460fc8fa32bba5ea4d94b3233d367b0e4` (MIT) | |
| - Variant: `pal4` (4-bit k-means palettized weights) | |
| - Input: `image` Float32 `(1, 3, 1024, 1024)` (RGB 0..1 normalized with ImageNet mean/std) | |
| - Output: `mask_logits` Float32 `(1, 1, 1024, 1024)` (foreground mask logits; apply sigmoid) | |
| - Deployment target: iOS 17+ | |