bhiziroglu / Generative-Adversarial-Networks

Implementation of Generative Adversarial Networks using Knet for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generative-Adversarial-Networks

Implementation of the paper Generative Adversarial Networks Using Knet Library for Julia.

Introduction

  • GANs are used to generate realistic looking samples.
  • MNIST model uses MLP to generate samples.
  • CNN is used for other datasets.
  • The model must be trained on a GPU machine.
  • If the dataset does not exist in the current directory, it will be downloaded.

Usage

$ julia gan_mnist.jl

$ julia gan_faces.jl

$ julia gan_cifar.jl

NOTE: To run the code, this line should be replaced with size(w,N-1) on your current Knet installation.

Generated Samples

Alt text

Alt text

Alt text

Alt text

Alt text

πŸ“ TODO

  • Output images for CIFAR-10 dataset have low resolution.

πŸ“š Tutorial

  • A tutorial for Generate Adversarial Networks can be found here.

Related Works

About

Implementation of Generative Adversarial Networks using Knet for Julia

License:GNU General Public License v3.0


Languages

Language:Julia 100.0%