Skip to content

enigmao/Facial_Sketch_Synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facial Sketch Synthesis Web App (Pix2Pix)

Minimal Flask app to upload a sketch and generate a realistic face using a Pix2Pix Conditional GAN.

Dataset, i have used : "https://mmlab.ie.cuhk.edu.hk/archive/facesketch.html Useful Articles : https://affinelayer.com/pix2pix/

How to run locally

pip install -r requirements.txt
python application.py
# open http://localhost:5000

Deploy (Heroku/Render)

  • Ensure Procfile and requirements.txt are committed.
  • Add your pix2pix_model.pt TorchScript model file in the repo root.
  • Deploy. The app will bind to PORT env automatically.

Model file

Put pix2pix_model.pt at the repository root. The app will load it on startup.

About

Facial sketch synthesis generates realistic face images from hand-drawn sketches using deep learning pix2pix conditional GAN model, project is implemented in python and gives upto 85% accurate results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages