Giter Club home page Giter Club logo

dcgan-tensorflow's Introduction

DCGAN in Tensorflow

Prerequisites

Add Cuda Path to bashrc first

export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH"

We recommend you to install anaconda. Here we write a simple script for you to install the dependence by anaconda.

# install env (especially for old version Tensorflow)
conda env create -f dcgan.yml
# activate env, then you can run code in this env without downgrading the outside Tensorflow.
source activate dcgan

Let's start

1.Train

mkdir data
ln -rs your_dataset_path/DukeMTMC-reID/bounding_box_train ./data/duke_train
python main.py --dataset duke_train --train --input_height 128 --output_height 128 --options 1

duke_train is the dir path which contains images. Here I use the (DukeMTMC-reID)[https://github.com/layumi/DukeMTMC-reID_evaluation] training set. You can change it to your dataset path.

2.Test

python main.py --dataset duke_train --options 5  --output_path duke_256_48000  --sample_size 48000  --input_height 128 --output_height 128

It will use your trained model and generate 48000 images for the following semi-supervised training.

dcgan-tensorflow's People

Contributors

anguyen8 avatar asispatra avatar audreyt avatar carpedm20 avatar crizcraig avatar everm1nd avatar genekogan avatar iamaaditya avatar johnhany avatar jusjusjus avatar kchen92 avatar larry-he avatar layumi avatar macaodha avatar minhwanoh avatar mtjuney avatar mustafamustafa avatar ngc92 avatar oritwoen avatar phoenixdai avatar randl avatar richardjdavies avatar uiur avatar viligabi avatar xdxx avatar yunjey avatar zackarysin avatar zackrdavis avatar zhangqianhui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.