An-Intelligent-Hybrid-Text-To-Image-Synthesis-Model-for-Generating-Realistic-Human-Faces

This project page provides pytorch code that implements the following paper:

Title: "An Intelligent Hybrid Text-To-Image Synthesis Model for Generating Realistic Human Faces"

Link: https://ieeexplore.ieee.org/document/9694194

How to use

Python

Data

  • Download metadata for faces and extract them to data/faces/
    • python google_drive.py 1ao16xGvVmBltWadn21fIpxk2NGytEBLg ../data/faces.zip

Pretrained Models

  • DAMSM for faces : Download and extract it to DAMSMencoders/
    • python google_drive.py 1ao16xGvVmBltWadn21fIpxk2NGytEBLg DAMSMencoders/faces.zip

Training

1- go into code/folder
2- python main.py --cfg cfg/faces_DMGAN.yml --gpu 0

Validation

1- Image Generation
	1- go into code/ folder
	2- python main.py --cfg cfg/eval_faces.yml --gpu 0