ZhengPeng7 commited on
Commit
a3844db
·
1 Parent(s): 8023492

Initialization of BiRefNet_lite-Anime for anime matting.

Browse files
Files changed (1) hide show
  1. README.md +74 -0
README.md CHANGED
@@ -1,3 +1,77 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: birefnet
3
+ tags:
4
+ - Anime Segmentation
5
+ - background-removal
6
+ - mask-generation
7
+ - Dichotomous Image Segmentation
8
+ - Salient Object Detection
9
+ - pytorch_model_hub_mixin
10
+ - model_hub_mixin
11
+ - transformers
12
+ - transformers.js
13
+ repo_url: https://github.com/ZhengPeng7/BiRefNet
14
+ pipeline_tag: image-segmentation
15
  license: mit
16
  ---
17
+ <h1 align="center">Bilateral Reference for High-Resolution Dichotomous Image Segmentation</h1>
18
+
19
+ <div align='center'>
20
+ <a href='https://scholar.google.com/citations?user=TZRzWOsAAAAJ' target='_blank'><strong>Peng Zheng</strong></a><sup> 1,4,5,6</sup>,&thinsp;
21
+ <a href='https://scholar.google.com/citations?user=0uPb8MMAAAAJ' target='_blank'><strong>Dehong Gao</strong></a><sup> 2</sup>,&thinsp;
22
+ <a href='https://scholar.google.com/citations?user=kakwJ5QAAAAJ' target='_blank'><strong>Deng-Ping Fan</strong></a><sup> 1*</sup>,&thinsp;
23
+ <a href='https://scholar.google.com/citations?user=9cMQrVsAAAAJ' target='_blank'><strong>Li Liu</strong></a><sup> 3</sup>,&thinsp;
24
+ <a href='https://scholar.google.com/citations?user=qQP6WXIAAAAJ' target='_blank'><strong>Jorma Laaksonen</strong></a><sup> 4</sup>,&thinsp;
25
+ <a href='https://scholar.google.com/citations?user=pw_0Z_UAAAAJ' target='_blank'><strong>Wanli Ouyang</strong></a><sup> 5</sup>,&thinsp;
26
+ <a href='https://scholar.google.com/citations?user=stFCYOAAAAAJ' target='_blank'><strong>Nicu Sebe</strong></a><sup> 6</sup>
27
+ </div>
28
+
29
+ <div align='center'>
30
+ <sup>1 </sup>Nankai University&ensp; <sup>2 </sup>Northwestern Polytechnical University&ensp; <sup>3 </sup>National University of Defense Technology&ensp; <sup>4 </sup>Aalto University&ensp; <sup>5 </sup>Shanghai AI Laboratory&ensp; <sup>6 </sup>University of Trento&ensp;
31
+ </div>
32
+
33
+ <div align="center" style="display: flex; justify-content: center; flex-wrap: wrap;">
34
+ <a href='https://arxiv.org/pdf/2401.03407'><img src='https://img.shields.io/badge/arXiv-BiRefNet-red'></a>&ensp;
35
+ <a href='https://drive.google.com/file/d/1aBnJ_R9lbnC2dm8dqD0-pzP2Cu-U1Xpt/view?usp=drive_link'><img src='https://img.shields.io/badge/中文版-BiRefNet-red'></a>&ensp;
36
+ <a href='https://www.birefnet.top'><img src='https://img.shields.io/badge/Page-BiRefNet-red'></a>&ensp;
37
+ <a href='https://drive.google.com/drive/folders/1s2Xe0cjq-2ctnJBR24563yMSCOu4CcxM'><img src='https://img.shields.io/badge/Drive-Stuff-green'></a>&ensp;
38
+ <a href='LICENSE'><img src='https://img.shields.io/badge/License-MIT-yellow'></a>&ensp;
39
+ <a href='https://huggingface.co/spaces/ZhengPeng7/BiRefNet_demo'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20HF%20Spaces-BiRefNet-blue'></a>&ensp;
40
+ <a href='https://huggingface.co/ZhengPeng7/BiRefNet'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20HF%20Models-BiRefNet-blue'></a>&ensp;
41
+ <a href='https://colab.research.google.com/drive/14Dqg7oeBkFEtchaHLNpig2BcdkZEogba?usp=drive_link'><img src='https://img.shields.io/badge/Single_Image_Inference-F9AB00?style=for-the-badge&logo=googlecolab&color=525252'></a>&ensp;
42
+ <a href='https://colab.research.google.com/drive/1MaEiBfJ4xIaZZn0DqKrhydHB8X97hNXl#scrollTo=DJ4meUYjia6S'><img src='https://img.shields.io/badge/Inference_&_Evaluation-F9AB00?style=for-the-badge&logo=googlecolab&color=525252'></a>&ensp;
43
+ </div>
44
+
45
+ ## This repo holds the official weights of BiRefNet for general matting.
46
+
47
+ ### Training Sets:
48
+ + TR-composited-ani-seg_HR, a composited datasets with `fg` and `bg` in the https://huggingface.co/datasets/skytnt/anime-segmentation.
49
+
50
+ ### Validation Sets:
51
+ + TE-composited-ani-seg_HR
52
+
53
+ ### Performance:
54
+ | Dataset | Method | Smeasure | maxFm | meanEm | MSE | maxEm | meanFm | wFmeasure | adpEm | adpFm | HCE | mBA | maxBIoU | meanBIoU |
55
+ | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: |
56
+ | TE-composited-ani-seg_HR | BiRefNet_lite-anime--epoch_30 | .987 | .997 | .992 | .002 | .998 | .990 | .992 | .991 | .993 | .000 | .924 | .959 | .932 |
57
+
58
+
59
+ **Check the main BiRefNet_lite model repo for more info and how to use it:**
60
+ https://huggingface.co/ZhengPeng7/BiRefNet_lite/blob/main/README.md
61
+
62
+ **Also check the GitHub repo of BiRefNet for all things you may want:**
63
+ https://github.com/ZhengPeng7/BiRefNet
64
+
65
+
66
+ ## Citation
67
+
68
+ ```
69
+ @article{zheng2024birefnet,
70
+ title={Bilateral Reference for High-Resolution Dichotomous Image Segmentation},
71
+ author={Zheng, Peng and Gao, Dehong and Fan, Deng-Ping and Liu, Li and Laaksonen, Jorma and Ouyang, Wanli and Sebe, Nicu},
72
+ journal={CAAI Artificial Intelligence Research},
73
+ volume = {3},
74
+ pages = {9150038},
75
+ year={2024}
76
+ }
77
+ ```