← Open Source
jonbruner

generative-adversarial-networks

Introduction to generative adversarial networks, with code to accompany the O'Reilly tutorial on GANs.

TutorialsML/AI fundamentalsJupyter Notebook
Open on GitHub
Momentum
+0stars in 24 hours0.0%
537
Stars
247
Forks
+0
This week
1
Contributors
Created 2017-06-01 · Updated 2026-07-23 · #17478 today
Top developers
jonbruner

jonbruner/generative-adversarial-networks is ranked 17,478 with 537 stars.

Same-category comparison

jonbruner/generative-adversarial-networks is ranked 17,478 among these 8 peers; gy910210/rnn-from-scratch is ranked 17,474.

Same-category comparison
NameRankMetrics
mpaepper/content-chatbot17,430
Language:
Python
Stars:
540
Forks:
52
Description:
Build a chatbot or Q&A bot of your website's content.
maurock/snake-ga17,448
Language:
Python
Stars:
539
Forks:
961
Description:
AI Agent that learns how to play Snake with Deep Q-Learning.
falloutdurham/beginners-pytorch-deep-learning17,458
Language:
Jupyter Notebook
Stars:
538
Forks:
282
Description:
Repository for scripts and notebooks from the book: Programming PyTorch for Deep Learning.
gy910210/rnn-from-scratch17,474
Language:
Python
Stars:
537
Forks:
152
Description:
Implementing Recurrent Neural Network from Scratch.
kuleshov/cornell-cs5785-2025-applied-ml17,482
Language:
Jupyter Notebook
Stars:
537
Forks:
186
Description:
Lecture materials for Cornell CS5785 Applied Machine Learning (Fall 2024).
ne7ermore/torch-light17,487
Language:
Python
Stars:
537
Forks:
194
Description:
Deep-learning by using Pytorch. Basic nns like Logistic, CNN, RNN, LSTM and some examples are implemented by complex model.
keitakurita/Practical_NLP_in_PyTorch17,494
Language:
Jupyter Notebook
Stars:
536
Forks:
158
Description:
A repository containing tutorials for practical NLP using PyTorch.
Dyakonov/DL17,504
Stars:
535
Forks:
65
Description:
Курс "Глубокое обучение (Deep Learning)" (ВМК, МГУ имени М.В. Ломоносова).
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJupyter Notebook
CategoryTutorials
SubcategoryML/AI fundamentals
KeywordsImage production
Stars537
Forks247
Contributors1
Created date2017-06-01
Updated date2026-07-23
Stars in 1 day0
Stars in 7 days0
Rank17,478
Previous rank17,266
Rank change-212
7-day stars rank16,125
Previous 7-day stars rank16,131
7-day stars rank change6
Total stars rank18,306
Previous total stars rank18,280
Total stars rank change-26
CountryUSA
README summary

Introduction to generative adversarial networks This repository contains code to accompany the O'Reilly tutorial on generative adversarial networks written by Jon Bruner and Adit Deshpande. See the original tutorial to run this code in a pre-built environment on O'Reilly's servers with cell-by-cell guidance, or run these files on your own machine. There are three versions of our simple GAN model in this repository: **gan-notebook. ipynb** is identical to the interactive tutorial, available here so that

you can run it on your own machine. py** is a straightforward Python script containing code drawn directly from the tutorial, to be run from the command line. Note that it doesn't print anything when it's executed, but it does send regular updates to TensorBoard so that you can track its progress. py** is a modest refactoring of gan-script. py that runs slightly faster because more of its computations are contained in the TensorFlow graph. Requirements and installation In

order to run gan-script. ipynb, you'll additionally need Jupyter and matplotlib. If you've already got TensorFlow on your machine, then you've got NumPy and should be able to run the raw Python scripts. Installing Anaconda Python and TensorFlow The easiest way to install TensorFlow as well as NumPy, Jupyter, and matplotlib is to start with the Anaconda Python distribution. Follow the installation instructions for Anaconda Python. Follow the platform-specific TensorFlow installation instructions. Be sure to follow the "Installing

with Anaconda" process, and create a Conda environment named . If you aren't still inside your Conda TensorFlow environment, enter it by opening your terminal and typing 4. Download and unzip this entire repository from GitHub, either interactively, or by entering 5. Use to navigate into the top directory of the repo on your machine 6.

Frequently asked questions

How many stars and forks are recorded?

jonbruner/generative-adversarial-networks has 537 stars and 247 forks.

What is the repository rank?

jonbruner/generative-adversarial-networks is ranked 17,478.

What language and category are recorded?

jonbruner/generative-adversarial-networks has 537 stars, uses Jupyter Notebook and belongs to Tutorials.

Which repository is closest in rank?

jonbruner/generative-adversarial-networks is compared with gy910210/rnn-from-scratch, ranked 17,474 with 537 stars.

README

Introduction to generative adversarial networks

This repository contains code to accompany the O'Reilly tutorial on generative adversarial networks written by Jon Bruner and Adit Deshpande. See the original tutorial to run this code in a pre-built environment on O'Reilly's servers with cell-by-cell guidance, or run these files on your own machine.

There are three versions of our simple GAN model in this repository:

  • gan-notebook.ipynb is identical to the interactive tutorial, available here so that you can run it on your own machine.
  • gan-script.py is a straightforward Python script containing code drawn directly from the tutorial, to be run from the command line. Note that it doesn't print anything when it's executed, but it does send regular updates to TensorBoard so that you can track its progress.
  • gan-script-fast.py is a modest refactoring of gan-script.py that runs slightly faster because more of its computations are contained in the TensorFlow graph.

Requirements and installation

In order to run gan-script.py or gan-script-fast.py, you'll need TensorFlow version 1.0 or later and NumPy. In order to run gan-notebook.ipynb, you'll additionally need Jupyter and matplotlib.

If you've already got TensorFlow on your machine, then you've got NumPy and should be able to run the raw Python scripts.

Installing Anaconda Python and TensorFlow

The easiest way to install TensorFlow as well as NumPy, Jupyter, and matplotlib is to start with the Anaconda Python distribution.

  1. Follow the installation instructions for Anaconda Python. We recommend using Python 3.6.

  2. Follow the platform-specific TensorFlow installation instructions. Be sure to follow the "Installing with Anaconda" process, and create a Conda environment named tensorflow.

  3. If you aren't still inside your Conda TensorFlow environment, enter it by opening your terminal and typing

    source activate tensorflow
    
  4. Download and unzip this entire repository from GitHub, either interactively, or by entering

    git clone https://github.com/jonbruner/generative-adversarial-networks.git
    
  5. Use cd to navigate into the top directory of the repo on your machine

  6. Launch Jupyter by entering

    jupyter notebook
    

    and, using your browser, navigate to the URL shown in the terminal output (usually http://localhost:8888/)

Nearby in the ranking
Similar items