Skip to content

Commit c716fe5

Browse files
committed
add demo image
1 parent c2cc43e commit c716fe5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Differences between original repository and fork:
44

5+
* Compatibility with PyTorch >=2.0. (🔥)
56
* Installation with [requirements.txt](requirements.txt) file.
67

78
# Installation
@@ -10,6 +11,13 @@ Differences between original repository and fork:
1011
pip install -r requirements.txt
1112
```
1213

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

1422

1523
<h2 align="center">MODNet: Trimap-Free Portrait Matting in Real Time</h2>

data/images/test.jpg

44.1 KB
Loading

0 commit comments

Comments
 (0)