プロジェクト
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
関連プロジェクトを探す
読み込み中…



