GGUF models for ToonOut
ToonOut is a fine-tuned variant of BiRefNet specialized for background removal in anime-style images. The weights in this repository are converted for lightweight inference on consumer hardware with vision.cpp.
- Original repository: MatteoKartoon/BiRefNet (Github)
- Original weights: joelseytre/toonout (HuggingFace)
Run
Example inference with vision.cpp:
CLI
vision-cli birefnet -m BiRefNet-ToonOut-F16.gguf -i input.png -o mask.png --composite comp.png
C++
image_data image = image_load("input.png");
backend_device device = backend_init();
birefnet_model model = birefnet_load_model("BiRefNet-ToonOut-F16.gguf", device);
image_data mask = birefnet_compute(model, image);
image_save(mask, "mask.png");
- Downloads last month
- 23
Hardware compatibility
Log In to add your hardware
16-bit