Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ Background Matting needs a segmentation mask for the subject. We use tensorflow
```
cd Background-Matting/
git clone https://github.com/tensorflow/models.git
cd models/research/
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
cd ../..
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/models/research/slim
python test_segmentation_deeplab.py -i sample_data/input
```

Expand Down Expand Up @@ -173,9 +171,8 @@ Repeat the same for `sample_video_fixed`

2. Segmentation
```
cd Background-Matting/models/research/
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
cd ../..
cd Background-Matting/
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/models/research/slim
python test_segmentation_deeplab.py -i sample_video/input
```

Expand Down