Instructions to use PeiqingYang/MatAnyone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MatAnyone
How to use PeiqingYang/MatAnyone with MatAnyone:
# Install from https://github.com/pq-yang/MatAnyone.git from matanyone.model.matanyone import MatAnyone model = MatAnyone.from_pretrained("PeiqingYang/MatAnyone")from matanyone import InferenceCore processor = InferenceCore("PeiqingYang/MatAnyone") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,4 +24,7 @@ from matanyone.model.matanyone import MatAnyone
|
|
| 24 |
matanyone = MatAnyone.from_pretrained("PeiqingYang/MatAnyone").cuda().eval()
|
| 25 |
```
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
matanyone = MatAnyone.from_pretrained("PeiqingYang/MatAnyone").cuda().eval()
|
| 25 |
```
|
| 26 |
|
| 27 |
+
We also provide a **stand-alone** [inference script](https://huggingface.co/PeiqingYang/MatAnyone/blob/main/inference_matanyone_api.py) that could be used as **API**.
|
| 28 |
+
```shell
|
| 29 |
+
python inference_matanyone_api.py -i <input video> -m <first-frame seg mask>
|
| 30 |
+
```
|