Skip to content

Implementation of Generative Adversarial Networks using Knet for Julia

License

Notifications You must be signed in to change notification settings

bhiziroglu/Generative-Adversarial-Networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages