Skip to content

hhs900419/CV_face_parsing

Repository files navigation

Training

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

  2. Preprocessing (to stack all the mask images of a person into one)

python prepropess_data.py
  1. Train
python train.py
  • Current model (Unet)
  • loss function: $Loss = cross entropy + dice loss$
  • evaluation metric: mean IoU
  • hyperparamters and global variables are in configs.py
  • beaware of the arguments in the scheduler, unexpected result are produced if the scheduler is initialized unappropriately
  • a jupyter notebook is also created for visualization convenience.

Inference

python test.py
  • 60 comparison results are generated for better visualization of the model performance

Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published