Image Segmentation
BiRefNet
Safetensors
background-removal
mask-generation
Dichotomous Image Segmentation
Camouflaged Object Detection
Salient Object Detection
pytorch_model_hub_mixin
model_hub_mixin
custom_code
Instructions to use ZhengPeng7/BiRefNet_HR-matting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use ZhengPeng7/BiRefNet_HR-matting with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("ZhengPeng7/BiRefNet_HR-matting", trust_remote_code=True)# Option 2: use with BiRefNet # Install from https://github.com/ZhengPeng7/BiRefNet from models.birefnet import BiRefNet model = BiRefNet.from_pretrained("ZhengPeng7/BiRefNet_HR-matting") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fix the no attribute 'all_tied_weights_keys' issue in transformers==5.0.0.
5d6b6f8 -
For the compatibility with the meta device used in transformers==5.0.0.
b2b7170
-
Upgrade the ways of importing timm modules (>=1.0.23).
2340db7
-
For the compatibility with the latest transformers lib.
Verified signature4548a38
-
Fix the wrong bb setting. Fix the bug by latest transformers and update req.txt.
58b07c1
-
Fix the wrong symbols in README.
fb5508e -
Initial uploading of BiRefNet_HR for image matting.
fecd89c -
Initial uploading of BiRefNet_HR for image matting.
4fbfd04 -
initial commit
Verified signature9cb534c