DeformableGenerator
DeformableGenerator copied to clipboard
Tensorflow code for paper: Deformable Generator Network: Unsupervised Disentanglement of Appearance and Geometry
Train the model
- Put the folder of training images into ./data. E.g. a folder 'face'
- Train the model: python main.py --category face
Test the model
python main.py --category face --test True --ckpt model.ckpt-990 --sample_size 100
Output
***_app.png: generated appearance (without landmarks warping)
***_img.png: generated image (appearance + landmarks)