Giter Site home page Giter Site logo

ethanhe42 / resnet-tensorflow Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 5.0 22.67 MB

ResNet in tensorflow for CIFAR-100, CIFAR-10

Home Page: https://arxiv.org/abs/1512.03385

Python 34.14% Shell 0.02% Jupyter Notebook 65.83%
residual-neural-network convolutional-layers cpu tensorflow kmeans pca deepnet

resnet-tensorflow's Introduction

Fast ResNet for CIFAR

This ResNet spends 3 hours to train on a modern CPU. It can reach 63% on CIFAR100 coarse 20 classes task.
This residual neural network is different from the original paper in there ways:

  • Only have 13 layers, which the original paper didn't studied.
  • No ReLU before subsampling convolutional layer, which improve accuracy by 3%
  • BatchNorm is done before addition, which improve accuracy a little bit.

This ResNet-13 can't beat ResNet-18/34/150/1000 layers residual nets in the long run, however, more efficient with non-sufficient training time, interestingly.
Details are shown here. Archtecture shown at the bottom.

results on CIFAR-10/CIFAR-100

Traning 3 hours on CPU:

Acc. CIFAR-10 CIFAR-100
Alexnet 82% -
Mimic Learning - 50%
2-layer NN with PCA and Kmeans 78% 56%
ResNet-13 (this repo) 84% 63%

How to run

python redo.py /path/to/CIFAR100python/

Features

  • Output layers contain 20 labels
  • Using tensorflow
  • number of filters
  • iterations
  • learning rate
  • batch size
  • regularization strength
  • number of layers
  • optimization methods
  • drop out
  • initialization
  • hidden neurons
  • filter size of convolution layers
  • filter size of pooling layers

architecture

arch

resnet-tensorflow's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

resnet-tensorflow's Issues

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.