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 |
+
```
|