Git Product home page Git Product logo

evolutionary-autoencoders's Introduction

Exploiting the Potential of Standard Convolutional Autoencoders for Image Restoration by Evolutionary Search

This repository contains the code for the following paper:

Masanori Suganuma, Mete Ozay, and Takayuki Okatani, "Exploiting the Potential of Standard Convolutional Autoencoders for Image Restoration by Evolutionary Search," International Conference on Machine Learning (ICML), 2018. [PDF] [arXiv]

If you find this work useful in your research, please cite:

@inproceedings{suganumaICML2018,
    Author = {M. Suganuma and M. Ozay and T. Okatani},
    Title = {Exploiting the Potential of Standard Convolutional Autoencoders for Image Restoration by Evolutionary Search},
    Booktitle = {ICML},
    Year = {2018}
}

Sample results on inpainting tasks:

example

Sample results on denoising tasks:

example

Requirement

  • Ubuntu 14.04 LTS
  • CUDA version 8.0
  • Python version 3.6.2
  • PyTorch version 0.2.0_4

Usage

Run the architecture search (denoising)

python exp_main.py -i

Run the architecture search (inpainting)

python exp_main.py -i -mask center

When you specify the -i option, an initial individual consists of a single convolution layer and a single deconvolution layer. To choose inpainting tasks, please specify the -mask option (center, pixel, half).

When you use the multiple GPUs, please specify the -g option (default:1):

python exp_main.py -g 2

You can set the number of offsprings with the -l option (default:2):

python exp_main.py -l 4

After the execution, the files, network_info.pickle and log_cgp.txt will be generated. The file network_info.pickle contains the information for Cartegian genetic programming (CGP) and log_cgp.txt contains the log of the optimization and discovered CAE architecture's genotype lists.

Some parameters (e.g., # rows and columns of CGP, and # epochs) can easily change by modifying the arguments in the script exp_main.py.

Re-training (fine-tuning)

To re-train the discovered architecture:

python exp_main.py -m retrain

Re-evolution

To re-start the evolution:

python exp_main.py -m reevolution

Dataset

The CelebA dataset is available here.

The cars dataset is available here.

The SVHN dataset is available here.

The BSDS500 dataset is available here.

To create the training, validation, and test sets of the CelebA dataset, please download "Align&Cropped Images" and save images to ./celebA_org, and download "list_landmarks_landmarks_align_celeba.txt" from here. Then please run a following code:

python create_data.py

evolutionary-autoencoders's People

Contributors

sg-nm avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

evolutionary-autoencoders's Issues

where is the downsample?

In your paper, you gave a structure diagram of the network structure(CS(128, 3) − C(64, 3) − CS(128, 5) − C(128, 1) − CS(256, 5) − C(256, 1) − CS(64, 5)). Is there downsampling on each operation?

dataset

i want to know if change another dataset ,how do it ?can you briefly introduce it?

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.