composite

This commit is contained in:
xuebinqin 2021-08-24 16:34:17 +04:00
parent 328e1fbeef
commit 0face988e5

View File

@ -19,8 +19,8 @@ __Contact__: xuebin[at]ualberta[dot]ca
(1) Download this repo by
```
git clone https://github.com/NathanUA/U-2-Net.git
```, <br/>
(2) Download the u2net_portrait.pth from [**GoogleDrive**](https://drive.google.com/file/d/1IG3HdpcRiDoWNookbncQjeaPN28t90yW/view?usp=sharing) or [**Baidu Pan(提取码chgd)**](https://pan.baidu.com/s/1BYT5Ts6BxwpB8_l2sAyCkw)model and put it into the directory: ```./saved_models/u2net_portrait/```, <br/>
```
(2) Download the u2net_portrait.pth from [**GoogleDrive**](https://drive.google.com/file/d/1IG3HdpcRiDoWNookbncQjeaPN28t90yW/view?usp=sharing) or [**Baidu Pan(提取码chgd)**](https://pan.baidu.com/s/1BYT5Ts6BxwpB8_l2sAyCkw)model and put it into the directory: ```./saved_models/u2net_portrait/```,
(3) run the code by command
```
python u2net_portrait_composite.py -s 20 -a 0.5