TomatoBoy90 / DeepFaceDrawing-flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepFaceDrawing: Deep Generation of Face Images from Sketches(Flask version)

Things that need to be prepared in advance

  1. System
 - Ubuntu 16.04 or later
 - NVIDIA GPU + CUDA 9.2(later  version also can  be sucess)
  - python 3.7
  1. install require Packages
sh install.sh
  1. rename a figure:
mv heat/bg.jpg heat/.jpg
  1. prepare model file

Please download the pre-trained model[Baidu(Password:wiu9)] and put those under 'Param'.

  1. prepare sketch image file for post in current path

size of sketch image is 512X512

How to use

server:

python3.7 inference.py

client:

 python3.7 request.py

About


Languages

Language:Python 99.6%Language:Shell 0.4%