Image Segmentation
BiRefNet
Safetensors
background-removal
mask-generation
Dichotomous Image Segmentation
pytorch_model_hub_mixin
model_hub_mixin
custom_code
Instructions to use ZhengPeng7/BiRefNet-DIS5K-TR_TEs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use ZhengPeng7/BiRefNet-DIS5K-TR_TEs with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("ZhengPeng7/BiRefNet-DIS5K-TR_TEs", 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-DIS5K-TR_TEs") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fix the no attribute 'all_tied_weights_keys' issue in transformers==5.0.0.
487f440 -
For the compatibility with the meta device used in transformers==5.0.0.
d6944b2
-
Upgrade the ways of importing timm modules (>=1.0.23).
84d0312
-
For the compatibility with the latest transformers lib.
Verified signature9d90cd0
-
Fix the bug by latest transformers and update req.txt.
752a304
-
Align lib_name as birefnet and add inference endpoint option.
0860afa
-
Dtype adaptability between FP32 and FP16 in inference.
Verified signature33b735e
-
Update the bibtex.
Verified signature73f46d5
-
Update birefnet.py
Verified signature2a18a2b
-
Correct the `_name_or_path ` in config.json.
Verified signature77b75c8 -
Correct `_name_or_path` in config.json.
Verified signatured21416f
-
Initial uploading of BiRefNet model trained on DIS-TR and DIS-TEs for DIS.
bc71d93 -
initial commit
Verified signature5e43a3a