face parsing.PyTorch
1.0.0

Siapkan Data Pelatihan:-Unduh Dataset Celebamask-HQ
- Ubah jalur file di prepropess_data.py dan jalankan
python prepropess_data.py $ CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train.py
Jika Anda tidak ingin melatih model, Anda dapat mengunduh model terlatih kami dan menyimpannya di res/cp .
# evaluate using GPU
python test.pyface-makeup.pytorch
| Rambut | Bibir | |
|---|---|---|
| Input asli | ![]() | ![]() |
| Warna | ![]() | ![]() |