CoolFace
Modelpublic

cyberagent/layerd-birefnet

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
7likes4.1kdownloads
Model Card

LayerD BiRefNet Matting Module

<div align="left">

![arxiv paper](https://arxiv.org/abs/2509.25134) <a href='https://cyberagentailab.github.io/LayerD/'><img src='https://img.shields.io/badge/Project-Page-Green'></a>

</div>

This repository contains the code and model weights for the matting module in [LayerD [ICCV'25]](https://arxiv.org/abs/2509.25134), a layer decomposition framework for graphic design images. The model in this repository is intended to be used as a part of the original [LayerD github repository](https://github.com/CyberAgentAILab/LayerD). Please visit https://github.com/CyberAgentAILab/LayerD for more information.

[image]

The model architecture code is based on the BiRefNet repository. We thank the authors for releasing their high-quality matting model.

Usage

This repository is intended for use with LayerD, so we recommend following the instructions in the LayerD repository.

For reference, the original LayerD uses this model as follows:

python
from transformers import AutoModelForImageSegmentation
birefnet = AutoModelForImageSegmentation.from_pretrained('cyberagent/layerd-birefnet', trust_remote_code=True)

License

This repository is released under the Apache-2.0 license, the same as the LayerD repository. The original BiRefNet is released under the MIT license.

Citation

bibtex
@inproceedings{suzuki2025layerd,
  title={LayerD: Decomposing Raster Graphic Designs into Layers},
  author={Suzuki, Tomoyuki and Liu, Kang-Jun and Inoue, Naoto and Yamaguchi, Kota},
  booktitle={ICCV},
  year={2025}
}