Giter VIP home page Giter VIP logo

t-eagan's Introduction

T-EAGAN

The search code will be published once the paper is accepted, and the training code and network weights will be published immediately.

Code used for "Time-constrained Evolutionary Neural Architecture Search for Generative Adversarial Networks".

Introduction

We've desinged a evolutionary neural architecture search algorithm for generative adversarial networks (GANs), dubbed T-EAGAN. Experiments validate the effectiveness of T-EAGAN on the task of unconditional image generation. Extensive experiments on the CIFAR-10 and STL-10 datasets demonstrated that T-EAGAN only requires 1.08 GPU days to find out a superior GAN architecture in a search space including approximately 1015 network architectures. Our best found network architectures could outperform those obtained by other neural architecture search methods with the performance metric results(IS=8.957±0.08, FID=9.432) on CIFAR-10 and (IS=10.576±0.085, FID=20.323) on STL-10.

Framework

Fig:framework for T-EAGAN

Performance

picture1

picture2

Set-Up

1.environment requirements:

The search environment is consistent with AlphaGAN,to run this code, you need:

  • PyTorch 1.3.0
  • TensorFlow 1.15.0
  • cuda 10.0

Other requirements are in environment.yaml

conda env create -f environment.yaml

2.prepare fid statistic file

you need to create "fid_stat" directory and download the statistical files of real images.

mkdir fid_stat

How to search the architecture by yourself

1. Search on CIFAR-10

bash EAGAN_Only_G30.sh

How to train the discovered architecture reported in the paper

1. Fully train GAN on CIFAR-10

bash ./scripts/train_arch_cifar10.sh

2. Fully train GAN on STL-10

bash ./scripts/train_arch_stl10.sh

How to test the discovered architecture reported in the paper

1. Fully train GAN on CIFAR-10

bash ./scripts/test_arch_cifar10.sh

2. Fully train GAN on STL-10

bash ./scripts/test_arch_stl10.sh

Acknowledgement

Some of the codes are built by:

1.EAGAN

2.AlphaGAN

3.Inception Score code from OpenAI's Improved GAN (official).

4.FID Score code and CIFAR-10 statistics file from (official).

Thanks them for their great works!

t-eagan's People

Contributors

fly2tortoise avatar

Stargazers

 avatar  avatar

Watchers

 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.