Projetos
Ver no GitHub
zllrunning/face-parsing.PyTorch
Sobre
Usa o BiSeNet modificado para segmentação facial no PyTorch.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- +3
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalface-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
Explore projetos relacionados
Carregando…



