From d2ebb92103390d33be0dff330489a46a9691dfc9 Mon Sep 17 00:00:00 2001 From: Harry Pham Date: Fri, 12 Nov 2021 16:48:14 +0800 Subject: [PATCH] fix doc typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f965446..2efec53 100755 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ You can download pre_trained models and put them into './pretrained_models'.
[[Google Drive]](https://drive.google.com/open?id=1LTERcN33McoiztYEwBxMuRjjgxh4DEPs) [[百度云,提取码1x0a]](https://pan.baidu.com/s/10rN3U3zd5TmfGpO_PEShqQ)
[[Introduction to pre-trained models]](./docs/pre-trained_models_introduction.md)
-In order to add/remove mosaic, there must be a model file at `./pretrained_models/mosaic/mosaic_position.pth` +In order to add/remove mosaic, there must be a model file `mosaic_position.pth` at `./pretrained_models/mosaic/mosaic_position.pth` #### Install dependencies @@ -105,7 +105,7 @@ If you can not build `scikit-image`, running `export CFLAGS='-Wno-implicit-funct #### Simple Example -- Add Mosaic (output media will save in './result')
+- Add Mosaic (output media will be saved in './result')
```bash python deepmosaic.py --media_path ./imgs/ruoruo.jpg --model_path ./pretrained_models/mosaic/add_face.pth --gpu_id 0 @@ -117,7 +117,7 @@ python deepmosaic.py --media_path ./imgs/ruoruo.jpg --model_path ./pretrained_mo python deepmosaic.py --media_path ./result/ruoruo_add.jpg --model_path ./pretrained_models/mosaic/clean_face_HD.pth --gpu_id 0 ``` -If seeing the error `Please check mosaic_position_model_path!`, make sure the there is a model file at `./pretrained_models/mosaic/mosaic_position.pth` +If you see the error `Please check mosaic_position_model_path!`, check if there is a model file named `mosaic_position.pth` at `./pretrained_models/mosaic/mosaic_position.pth` #### More Parameters -- GitLab