Giter VIP home page Giter VIP logo

codeepneat's Introduction

CoDeepNEAT

An implementation of implementation of CoDeepNEAT, originally created by Risto Miikkulainen et al. with our own extensions. Implementation details were taken from their 2017 and 2019 paper.

Setup

Requires conda

conda create -n cdn --file requirements.txt
conda activate cdn
pip install tarjan wandb  # these are not available from conda

Entry points

Directory: src/main/
ft.py Fully trains a run from evo.py
evo.py Does an evolutionary run
batch_run.py Running many different configurations all the way from evolution to fully training. (See note below)

Config

All config options are in src/configuration/configuration.py
Example configs are in src/configuration/configs directory

How to run

python src/main/evo.py -g 1 -c base

Extensions

Extensions are detailed in the paper linked above

Paper

If you use this code, please cite our paper:

@INPROCEEDINGS{9308151,
  author={S. {Acton} and S. {Abramowitz} and L. {Toledo} and G. {Nitschke}},
  booktitle={2020 IEEE Symposium Series on Computational Intelligence (SSCI)}, 
  title={Efficiently Coevolving Deep Neural Networks and Data Augmentations}, 
  year={2020},
  volume={},
  number={},
  pages={2543-2550},
  doi={10.1109/SSCI47803.2020.9308151}}

Results

For detailed results see:
convergence
evolution

The accuracies obtained on CIFAR-10
results

The best data augmentations found
best data augmentations

The best genotype found. Using config configuration/configs/experiments/mms_da_pop_25e.json and a feature multiplier of 5
best genotype

And its corresponding phenotype best phenotype

Note about batch runs

This system was developed for rapid tuning of CDN's own hyperparameters on a cluster with a limited number of GPUs. It should not be used for normal training as it was created for our very specific case. Rather do a single run on evo.py and then fully train it with ft.py.

codeepneat's People

Contributors

shaneacton avatar sash-a avatar liron-toledo 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.