---
library_name: BiRefNet
tags:
- background-removal
- mask-generation
- Dichotomous Image Segmentation
- pytorch_model_hub_mixin
- model_hub_mixin
repo_url: https://github.com/ZhengPeng7/BiRefNet
pipeline_tag: image-segmentation
---
Bilateral Reference for High-Resolution Dichotomous Image Segmentation
1 Nankai University 2 Northwestern Polytechnical University 3 National University of Defense Technology 4 Aalto University 5 Shanghai AI Laboratory 6 University of Trento
## This repo holds the weights of BiRefNet for general use trained on DIS5K-TR,DIS-TEs, DUTS-TR_TE,HRSOD-TR_TE,UHRSD-TR_TE, HRS10K-TR_TE **(w/o portrait seg data)**.
**Check the main BiRefNet model repo for more info and how to use it:**
https://huggingface.co/ZhengPeng7/BiRefNet/blob/main/README.md
**Also check the GitHub repo of BiRefNet for all things you may want:**
https://github.com/ZhengPeng7/BiRefNet
## Citation
```
@article{BiRefNet,
title={Bilateral Reference for High-Resolution Dichotomous Image Segmentation},
author={Zheng, Peng and Gao, Dehong and Fan, Deng-Ping and Liu, Li and Laaksonen, Jorma and Ouyang, Wanli and Sebe, Nicu},
journal={CAAI Artificial Intelligence Research},
year={2024}
}
```