项目
在 GitHub 查看
zllrunning/face-parsing.PyTorch
关于
在 PyTorch 中使用修改版 BiSeNet 进行人脸解析
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- +3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文face-parsing.PyTorch
Contents
Training
Prepare training data: -- download CelebAMask-HQ dataset
-- change file path in the
prepropess_data.pyand run
python prepropess_data.py
- Train the model using CelebAMask-HQ dataset: Just run the train script:
$ CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train.py
If you do not wish to train the model, you can download our pre-trained model and save it in res/cp.
Demo
- Evaluate the trained model using:
# evaluate using GPU
python test.py
Face makeup using parsing maps
| Hair | Lip | |
|---|---|---|
| Original Input | ![]() |
![]() |
| Color | ![]() |
![]() |
References
探索相关项目
加载中…



