Skip to content

YannZyl/py-began

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-began-master

This is a Boundary Equailibrium GAN(BEGAN) for image generation.paper

Dependences

Usage

We use CelebA dataset for training, at training state, you should run

python main.py --data_dir DATA_DIR

At the testing/interpolating step, there are three types for image interpolation:

  • mode1: using one image, interpolate between it and its mirror image(horizontal flip image)
  • mode2: using two images
  • mode3: using CelebA images, no inputs For mode1:
python main.py --mode 1 --image1 IMAGE1_PTH

For mode2:

python main.py --mode 2 --image1 IMAGE1_PTH --image2 IMAGE2_PTH

For mode3:

python main.py --mode 3

demo

BEGAN samples(300k iterations, 64 image scale)

BEGAN interpolation(2000 interp iterations)

About

began for face pose alignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages