Skip to content

GlassyWing/ogan-torch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogan-pytorch

A pytorch implementation for OGAN 《Orthogonal Generative Adversarial Network》

Usage

Training

python train.py --dataset_path <img_dir> --batch_size 16 --epochs 50

The checkpoints will be saved in dir checkpoints, and the sample images in dir output while training.

Generation

Replace the default checkpoints path in gen_imgs.py, and run:

python gen_imgs.py 

Example

Using celeba dataset, after 3 epochs (About 2 hours):

Generation

Releases

No releases published

Packages

No packages published

Languages