Post
67
š BiRefNet-V2 is released! Fully open-source under the MIT License: code, models, and weights.
BiRefNet-V2 is the successor to BiRefNet for high-resolution dichotomous image segmentation (Fig. 1). It reaches state-of-the-art results on DIS5K, HRSOD and COD across all 13 evaluation sets (Fig. 2 shows the 11 primary ones).
ā” Try it
š® Demo: ZhengPeng7/BiRefNet_demo
š¤ Models: https://huggingface.co/collections/ZhengPeng7/birefnet-v2
š» Code: https://github.com/ZhengPeng7/BiRefNet-V2
š Paper (arXiv): https://arxiv.org/abs/2611.11272
š Paper (Hugging Face): BiRefNet-V2: Rethinking Bilateral Reference for High-Resolution Dichotomous Image Segmentation (2611.11272)
š BiRefNet ā BiRefNet-V2 on DIS5K (Fig. 3)
⢠Finer masks (Fig. 4): maxF .896 ā .936, HCE 916 ā 736
⢠Much cheaper training and fine-tuning: 600 ā 50 epochs, 215M ā 84.9M trainable parameters, from 6.5 GB of GPU memory
⢠Faster and lighter inference at 1024x1024: 15.3 ā 18.4 FPS, 3.5 ā 3.2 GB
⢠Native ultra-high resolution: up to 12160x12160 for inference and 7552x7552 for training on a 268 GB GPU
š§© Five sizes, one decoder (Fig. 5)
From lite (DINOv3-S+: 34.1 FPS, 2.0 GB, maxF .911) to DINOv3-7B (maxF .939); the default is DINOv3-L.
š§ What changed
Both references are rebuilt on a mostly-frozen DINOv3 backbone: the inward reference preserves locality and is gated by semantics; the outward reference learns its own boundary stream.
š¤ What is next
The weights released now are the benchmark models of the paper (DIS, COD, HRSOD). For practical use, our new large-scale training data is ready, but training the general, high-resolution, matting, and other versions on it needs GPUs with large memory. If you are willing to offer generous support or to cooperate, please get in touch.
š¬ Contact
zhengpeng0108@gmail.com
BiRefNet-V2 is the successor to BiRefNet for high-resolution dichotomous image segmentation (Fig. 1). It reaches state-of-the-art results on DIS5K, HRSOD and COD across all 13 evaluation sets (Fig. 2 shows the 11 primary ones).
ā” Try it
š® Demo: ZhengPeng7/BiRefNet_demo
š¤ Models: https://huggingface.co/collections/ZhengPeng7/birefnet-v2
š» Code: https://github.com/ZhengPeng7/BiRefNet-V2
š Paper (arXiv): https://arxiv.org/abs/2611.11272
š Paper (Hugging Face): BiRefNet-V2: Rethinking Bilateral Reference for High-Resolution Dichotomous Image Segmentation (2611.11272)
from transformers import AutoModelForImageSegmentation
model = AutoModelForImageSegmentation.from_pretrained('ZhengPeng7/BiRefNet-V2-DIS5K', trust_remote_code=True)š BiRefNet ā BiRefNet-V2 on DIS5K (Fig. 3)
⢠Finer masks (Fig. 4): maxF .896 ā .936, HCE 916 ā 736
⢠Much cheaper training and fine-tuning: 600 ā 50 epochs, 215M ā 84.9M trainable parameters, from 6.5 GB of GPU memory
⢠Faster and lighter inference at 1024x1024: 15.3 ā 18.4 FPS, 3.5 ā 3.2 GB
⢠Native ultra-high resolution: up to 12160x12160 for inference and 7552x7552 for training on a 268 GB GPU
š§© Five sizes, one decoder (Fig. 5)
From lite (DINOv3-S+: 34.1 FPS, 2.0 GB, maxF .911) to DINOv3-7B (maxF .939); the default is DINOv3-L.
š§ What changed
Both references are rebuilt on a mostly-frozen DINOv3 backbone: the inward reference preserves locality and is gated by semantics; the outward reference learns its own boundary stream.
š¤ What is next
The weights released now are the benchmark models of the paper (DIS, COD, HRSOD). For practical use, our new large-scale training data is ready, but training the general, high-resolution, matting, and other versions on it needs GPUs with large memory. If you are willing to offer generous support or to cooperate, please get in touch.
š¬ Contact
zhengpeng0108@gmail.com