Downloads · 30 days
0
naver-iv/zim-anything-vitb
zim-anything-vitb is a image segmentation model from naver-iv. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. It is set up for zim-anything. The card lists the license as cc-by-4.0.
🚀 Introducing ZIM: Zero-Shot Image Matting – A Step Beyond SAM! 🚀
Downloads · 30 days
0
Access
Public
Updated Nov 16, 2024
Repo size
380 MB
Likes
6
Public
Click a slice to open those files.
.onnx380 MB · 100%
From the Hugging Face model README
🚀 Introducing ZIM: Zero-Shot Image Matting – A Step Beyond SAM! 🚀
While SAM (Segment Anything Model) has redefined zero-shot segmentation with broad applications across multiple fields, it often falls short in delivering high-precision, fine-grained masks. That’s where ZIM comes in.
🌟 What is ZIM? 🌟
ZIM (Zero-Shot Image Matting) is a groundbreaking model developed to set a new standard in precision matting while maintaining strong zero-shot capabilities. Like SAM, ZIM can generalize across diverse datasets and objects in a zero-shot paradigm. But ZIM goes beyond, delivering highly accurate, fine-grained masks that capture intricate details.
🔍 Get Started with ZIM 🔍
Ready to elevate your AI projects with unmatched matting quality? Access ZIM on our project page, Arxiv, and Github.
pip install zim_anything
or
git clone https://github.com/naver-ai/ZIM.git
cd ZIM; pip install -e .
zim_vit_b_2043.zim_vit_b_2043 directory.from zim_anything import zim_model_registry, ZimPredictor
backbone = "vit_b"
ckpt_p = "zim_vit_b_2043"
model = zim_model_registry[backbone](checkpoint=ckpt_p)
if torch.cuda.is_available():
model.cuda()
predictor = ZimPredictor(model)
predictor.set_image(<image>)
masks, _, _ = predictor.predict(<input_prompts>)
If you find this project useful, please consider citing:
@article{kim2024zim,
title={ZIM: Zero-Shot Image Matting for Anything},
author={Kim, Beomyoung and Shin, Chanyong and Jeong, Joonhyun and Jung, Hyungsik and Lee, Se-Yun and Chun, Sewhan and Hwang, Dong-Hyun and Yu, Joonsang},
journal={arXiv preprint arXiv:2411.00626},
year={2024}
}