GithubHelp home page GithubHelp logo

auto-cnn's Introduction

Auto-configuration of CNNs [Automated Algorithm Design]

The following repo is a sanitized version of the project submitted for the AutoML coursework at University of Freiburg. The src/ folder contains the relevant source code and further details of the code structure.

As on overview:

  • The task was to train CNN models for two datasets KMNIST and K49
  • With minimal or no manual tuning for the architecture or parameters
  • The problem was approached as a Hyper-parameter Optimization (HPO) task
    • With Neural Architecture Search (NAS) as HPO
    • Tuning of training parameters as HPO
  • BOHB was used as a tool for HPO
  • Overall, transfer learning was leveraged to optimize performance for the datasets

Hardware used:

  • All scripts were confined to run one CPU at a time
  • Utilizing a single core of Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

Compute budget:

  • A maximum budget of 24 hours on the above specification

Results obtained:

Dataset Keras simple CNN benchmark Auto-CNN
KMNIST 95.12% 97.89%
K49 89.25% 94.28%

Note: Results are using simple NAS without skip connections, or specialized architectures (using which can improve results and may increase compute time too)

For KMNIST: A simple BOHB was run for 20 iterations.

For K49: The best returned configuration from KMNIST was chosen. The size of the channels, number of fully connected layers and neurons, batch size was reparameterized and input to BOHB for K49.

auto-cnn's People

Contributors

neeratyoy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

sylvanhuang

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.