# dcgan **Repository Path**: mirrors_tensorlayer/dcgan ## Basic Information - **Project Name**: dcgan - **Description**: The Simplest DCGAN Implementation - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DCGAN in TensorLayerX - This is an implementation of [Deep Convolutional Generative Adversarial Networks](http://arxiv.org/abs/1511.06434). Looking for Text to Image Synthesis? [click here](https://github.com/zsdonghao/text-to-image) - For earlier version, please check dcgan [release](https://github.com/tensorlayer/dcgan/releases) and [tensorlayer](https://github.com/tensorlayer/TensorLayer) - For more computer vision applications, check [TLXCV](https://github.com/tensorlayer/TLXCV) ![alt tag](img/DCGAN.png) ## Prerequisites 🔥🔥🔥🔥🔥🔥 You need install TensorLayerX at first! 🔥🔥🔥🔥🔥🔥 Please install TensorLayerX via source ``` pip install tensorlayerx ``` or ``` pip install git+https://github.com/tensorlayer/tensorlayerx.git ``` ## Usage First, download the aligned face images from [google](https://drive.google.com/open?id=0B7EVK8r0v71pWEZsZE9oNnFzTm8) or [baidu](https://pan.baidu.com/s/1eSNpdRG#list/path=%2F) to a `data` folder. Please place dataset 'img_align_celeba.zip' under 'data/celebA/' by default. Your directory structure should look like this: ``` dcgan/ └── data.py └── model.py └── train.py └── README.md └── data └── celebA └── img_align_celeba.zip ``` Second, train the GAN: $ python train.py ## Result on celebA