Based on pix2pix by Isola et al.
Image-to-Image Translation with Conditional Adversarial Nets [CVPR 2017]
取个名字真TM难
- XueWenLiao
- ChengChen
- LuoJie
- LiuDong
- WuQin
Surprise Scene
- Android 7.0
- Tensorflow 1.4.1
- Django 2.0.5
- djangorestframework 3.8.2
Client | Server |
---|
- Linux with Tensorflow GPU edition + cuDNN
Based on GAN technology, quickly transform your own ideas into images and improve communication efficiency. First, use Tensorflow to build GAN models. Second, encapsulate models into functions. Third, use Django framework to build servers and provide APIs for clients to use. The fourth use of Android to build a client. GAN neural network will be hand-drawn sketches of the user into a very realistic picture.
- Hand-Painted: users can freely go to paint, without any restrictions.
- Eraser: erase the wrong part.
- Line: users can only use the line to draw.
- Revocation: Users can undo the previous step.
- Empty: the user can empty the drawing board.
- Generate a picture: Save the picture.
-
Building model: Users can use five label components: walls, doors, windows, eaves and room pillars to help draw.
-
Street View Model: Users can use five label components: roads, lawns, cars, trees, and street lights to help draw.
-
Package Model: the user draws the package.
-
Shoe Model: the user draws shoes.
# clone this repo
git clone [email protected]:luojie1024/HACK_GAN_img2img.git
cd HACK_GAN_MB
python manage.py runserver
dataset | example |
---|---|
python tools/download-dataset.py facades 400 images from CMP Facades dataset. (31MB) Pre-trained: BtoA |
|
python tools/download-dataset.py cityscapes 2975 images from the Cityscapes training set. (113M) Pre-trained: AtoB BtoA |
|
python tools/download-dataset.py maps 1096 training images scraped from Google Maps (246M) Pre-trained: AtoB BtoA |
|
python tools/download-dataset.py edges2shoes 50k training images from UT Zappos50K dataset. Edges are computed by HED edge detector + post-processing. (2.2GB) Pre-trained: AtoB |
|
python tools/download-dataset.py edges2handbags 137K Amazon Handbag images from iGAN project. Edges are computed by HED edge detector + post-processing. (8.6GB) Pre-trained: AtoB |
The facades
dataset is the smallest and easiest to get started with.