Giter Site home page Giter Site logo

yuanxiaosc / deep-convolutional-generative-adversarial-network Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 27.73 MB

Tensorflow 2. This repository demonstrates how to generate images of handwritten digits (MINIST) using a Deep Convolutional Generative Adversarial Network (DCGAN). 深度卷积生成对抗网络

Python 14.05% Jupyter Notebook 85.95%
generative-adversarial-networks mnist-generation mnist-dataset tensorflow2

deep-convolutional-generative-adversarial-network's Introduction

Deep-Convolutional-Generative-Adversarial-Network

This repository demonstrates how to generate images of handwritten digits using a Deep Convolutional Generative Adversarial Network (DCGAN).

An implementation of 2015 DCGAN Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks

Images generated during model training

File description

file name content
dataset_utils.py
train_dcgan_model.py
inference_by_dcgan_model.py
training_checkpoints Save model weight
train_epoch_produce_images The picture generated during the training of the model is generated one per training period. Used to check the effect of the model to generate a picture.
inference_produce_images Save images generated using trained models

Require

  • python 3+
  • tensorflow version 2

Code usage

Training_checkpoints already has trained model weights that can be used directly to execute 3. Model Inference.

1. Prepare Data

python dataset_utils.py

2. Train Model

python train_dcgan_model.py

3. Model Inference

python inference_by_dcgan_model.py

Image generated image effects

EPOCHS = 50

deep-convolutional-generative-adversarial-network's People

Contributors

yuanxiaosc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.