--- library_name: birefnet tags: - background-removal - mask-generation - Dichotomous Image Segmentation - Camouflaged Object Detection - Salient Object Detection - pytorch_model_hub_mixin - model_hub_mixin repo_url: https://github.com/ZhengPeng7/BiRefNet pipeline_tag: image-segmentation license: mit --- > This BiRefNet was trained with images in `512x512` for higher resolution inference. ### Performance: > All tested in FP16 mode. | Dataset | Method | Resolution | maxFm | wFmeasure | MAE | Smeasure | meanEm | HCE | maxEm | meanFm | adpEm | adpFm | mBA | maxBIoU | meanBIoU | | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: | | DIS-VD | [**BiRefNet_512x512**-epoch_216](https://huggingface.co/ZhengPeng7/BiRefNet_512x512) | 512x512 | .879 | .840 | .040 | .888 | .931 | 1526 | .941 | .864 | .938 | .857 | .732 | .747 | .726 | | DIS-VD | [**BiRefNet**-general-epoch_244](https://huggingface.co/ZhengPeng7/BiRefNet) | 512x512 | .834 | .789 | .050 | .860 | .891 | 1589 | .905 | .817 | .902 | .816 | .708 | .698 | .669 | | DIS-VD | [**BiRefNet_HR**-general-epoch_130](https://huggingface.co/ZhengPeng7/BiRefNet_HR) | 512x512 | .540 | .409 | .112 | .634 | .565 | 1647 | .682 | .428 | .690 | .576 | .585 | .384 | .309 |