Closed rut00 closed 2 years ago
The code does not find:
Hence the error at:
I think you would need a "person with/without glasses" classifier rather than an age estimator, no?
Please take a look at this part of the README:
https://github.com/yuval-alaluf/stylegan3-editing#training-your-own-interfacegan-boundaries
There you will find a link for downloading the age classifier. Place the downloading pth
file in the directory pretrained_models
and you should be able to load the model.
(Similarly for the pose estimation model)
Our objective is to edit original images without glasses with sample images with glasses.
I have trained the network using face images with glasses using the StyleGan3 repo. And now to edit an image I am using instructions given by you to train boundary with my dataset in Kaggle from your repo. But facing the following error while generating latent and attribute scores from the generate_latents_and_attribute_scores.py script.
If you can share the correct steps to train my custom boundaries to edit images it will be really helpful.
Thank You