Skip to content
Projekte

zllrunning/face-parsing.PyTorch

Auf GitHub ansehen

zllrunning/face-parsing.PyTorch has 2,592 GitHub stars and 496 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-12 14:43 UTC. Last push 2023-05-21.

So werden diese Zahlen gemessen

Using modified BiSeNet for face parsing in PyTorch

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

face-parsing.PyTorch

Contents

Training

  1. Prepare training data: -- download CelebAMask-HQ dataset

    -- change file path in the prepropess_data.py and run

python prepropess_data.py
  1. 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

  1. Evaluate the trained model using:
# evaluate using GPU
python test.py

Face makeup using parsing maps

face-makeup.PyTorch

  Hair Lip
Original Input Original Input Original Input
Color Color Color

References

Ähnliche Projekte entdecken