PeiqingYang commited on
Commit
cd748da
·
verified ·
1 Parent(s): 182a46c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
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
- For inference, you may refer to the [inference script](https://github.com/pq-yang/MatAnyone/blob/main/inference_matanyone.py) and substitute L23-L28 (model loading part) with the above lines.
 
 
 
 
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
+ ```