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_512x512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use ZhengPeng7/BiRefNet_512x512 with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("ZhengPeng7/BiRefNet_512x512", 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_512x512") - Notebooks
- Google Colab
- Kaggle
Commit History
-
For the compatibility with the meta device used in transformers==5.0.0.
678c37f -
For the compatibility with the meta device used in transformers==5.0.0.
b9c32a3
-
Upgrade the ways of importing timm modules (>=1.0.23).
e94d116
-
For the compatibility with the latest transformers lib.
Verified signature2424c79
-
Fix the bug by latest transformers and update req.txt.
cf2ff4a -
Fix the bug by latest transformers and update req.txt.
2b23729
-
Initial uploading of BiRefNet_512x512.
0cc6614 -
Initial uploading of BiRefNet_512x512.
4c3c428 -
initial commit
Verified signaturef224c4d