We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2cc43e commit c716fe5Copy full SHA for c716fe5
README.md
@@ -2,6 +2,7 @@
2
3
Differences between original repository and fork:
4
5
+* Compatibility with PyTorch >=2.0. (🔥)
6
* Installation with [requirements.txt](requirements.txt) file.
7
8
# Installation
@@ -10,6 +11,13 @@ Differences between original repository and fork:
10
11
pip install -r requirements.txt
12
```
13
14
+# Inference
15
+
16
+```shell
17
+python -m demo.image_matting.colab.inference --ckpt-path pretrained/modnet_photographic_portrait_matting.ckpt --input-path data/images --output-path .
18
+```
19
20
21
22
23
<h2 align="center">MODNet: Trimap-Free Portrait Matting in Real Time</h2>
data/images/test.jpg
44.1 KB
0 commit comments