MatAnyone
This repository contains the model described in MatAnyone: Stable Video Matting with Consistent Memory Propagation.
Code: https://github.com/pq-yang/MatAnyone
Usage
Requires pip install huggingface_hub
.
pip install -q git+https://github.com/pq-yang/MatAnyone
Users will only need to use these two lines to load and instantiate the model.
from matanyone.model.matanyone import MatAnyone
matanyone = MatAnyone.from_pretrained("PeiqingYang/MatAnyone").cuda().eval()
We also provide a stand-alone inference script that could be used as API.
python inference_matanyone_api.py -i <input video> -m <first-frame seg mask>
- Downloads last month
- 980
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support
HF Inference deployability: The model has no pipeline_tag.