- Clone the repository
git clone https://github.com/piani/style-prnet.git
cd style-prnet- Clone PRNet in style-prnet/
git clone https://github.com/piani/PRNet.git- Clone stylegan-encoder in style-prnet/
git clone https://github.com/piani/stylegan-encoder.git then you have this
style-prnet
│ README.md
│ style_prnet_execute.py
│
└───stylegan-encoder
│
└───PRNet
- Run with your own images
python style_prnet_execute.py -i <inputDir> -o <outputDir> -g <float::gender_degree> -a <float::age_degree> -s <float::smile_degree>- defalut inputDir: /stylegan-encoder/raw_images/
<inputDir>is absolute path only.- default
<outputDir>: /results/3DGenerated_results - output will be saved /results/
- We have now 3 style latent: smile, age, gender