face parsing.PyTorch
1.0.0

Erstellen Sie Trainingsdaten:-Download Celebamask-HQ-Datensatz
- Ändern Sie den Dateipfad in der prepropess_data.py und führen
python prepropess_data.py $ CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train.py
Wenn Sie das Modell nicht trainieren möchten, können Sie unser vorgebildetes Modell herunterladen und es in res/cp speichern.
# evaluate using GPU
python test.pyface-makeUp.pytorch
| Haar | Lippe | |
|---|---|---|
| Originaleingabe | ![]() | ![]() |
| Farbe | ![]() | ![]() |