GithubHelp home page GithubHelp logo

dcgan_face's Introduction

DCGAN_Face

介绍

DCGAN将深度卷积神经网络(CNN)与生成对抗网络(GAN)相结合。DCGAN是对Goodfellow在2014年提出的原始GAN网络的一种改进。主要包括以下几个方面:

  • 使用卷积层代替池化层
  • 生成器和判别器都是用BN
  • 移除全连接层
  • 生成器除了输出层使用Tanh外,其他层均使用ReLU作为激活函数
  • 判别器除了输出成使用sigmoid外,其他层均使用LeakyReLU作为激活函数

DCGAN的生成器部分如下图所示:

Illustrating the architecture of DCGAN

虽然DCGAN的论文中并没有给出判别器的结构图,但是从文中的描述可以知道判别器同样也是5层的网络结构。

总结

GAN是比较难训练的,通过实验发现,仅仅是修改一些超参数或是激活函数都有可能是网络生成的图像为噪声或者出现mode collapse现象。实现GAN网络不仅要考虑网络结构,还要考虑损失函数的优化过程,生成器和判别器要相当。

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.