Giter Site home page Giter Site logo

sscpu1 / se-net-cifar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from queequeg92/se-net-cifar

0.0 0.0 0.0 276 KB

SE-Net Incorporates with ResNet and WideResnet on CIFAR-10/100 Dataset.

License: Apache License 2.0

Python 93.58% Shell 6.42%

se-net-cifar's Introduction

SE-Net Incorporates with ResNet and WideResnet on CIFAR-10/100 Dataset


This is a SE-Net implementation based on "Squeeze-and-Excitation Networks" [3] on CVPR 2017 "Beyond Imagenet" workshop.
We combine SE Module with ResNet-164 and WideResnet28-10 to construct SeResNet-164 and SeWideResNet28-10 respectively. For details of ResNet-164 and WideResNet28-10, please refers to the original papers [1] and [2].
We evaluate SeResNet-164 and SeWideResNet28-10 on cifar-10 and cifar-100 datasets. For details of the hyperparameters and training processes, please refer to the /scripts folder.

SeResNet-164 VS ResNet-164 on cifar-10:

Accuracy: 95.12 vs 94.92 (94.54 reported by [1])
image

SeResNet-164 VS ResNet-164 on cifar-100:

Accuracy: 78.09 vs 76.53 (75.67 reported by [1])
image

SeWideResNet28-10 VS WideResNet28-10 on cifar-10:

Accuracy: both around 96.10 (96.00 reported by [2])
image

SeWideResNet28-10 VS WideResNet28-10 on cifar-100:

Accuracy: both around 81.2 (80.75 reported by [2])
image

Coarse Conclusion:

SE Module seems to work better with thin networks than wide networks on CIFAR-10 and CIFAR-100 datasets.

To-Do:

More networks with SE Module.
Welcome to make contributions!

Pre-requisites:

pytorch http://pytorch.org/
tensorboard https://www.tensorflow.org/get_started/summaries_and_tensorboard
tensorboard-pytorch https://github.com/lanpa/tensorboard-pytorch

How to Run:

# cd to the /scripts folder.
cd /path-to-this-repository/scripts  
# run the shells.
sh resnet164.sh

References:

[1] He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Identity mappings in deep residual networks." In European Conference on Computer Vision, pp. 630-645. Springer International Publishing, 2016.
[2] Zagoruyko, Sergey, and Nikos Komodakis. "Wide residual networks." arXiv preprint arXiv:1605.07146 (2016).
[3] Hu, Jie, Li Shen, and Gang Sun. "Squeeze-and-Excitation Networks." arXiv preprint arXiv:1709.01507 (2017).

se-net-cifar's People

Contributors

queequeg92 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.