Giter Club home page Giter Club logo

senet-keras's Introduction

SENet (Keras implementation)


New information

  • We provide a trained SEResNeXt model (training data: cifar10)
    Google drive
    You can try this model in evaluate-cifar10.ipynb.

Naive implementation of SENet models in Keras.

Prerequisites

  • nvidia-docker environment

Environment constuction

  • Build a docker image (on the root directory of the repository)
    $ docker build -t [tag name] -f docker/Dockerfile .
    
  • Create a container using the image
    $ nvidia-docker run -it -v $PWD:/work [tag name]
    

Train a model

  • Train a model with cifar10 data.
    (in the container) $ pwd
    /work
    (in the container) $ python train-cifar10.py
    

Note that this script is written in an insufficient way; use data generator in consideration of expansion to general image data). The training speed is slow. On a p3.2xlarge instance, it takes about 1.5 days.

Evaluate the model

  • Launch a jupyter notebook.
    (in the container) $ bash launch_notebook.sh
    
  • Execute evaluate-cifar10.ipynb notebook.

Results

  • Accuracy plot of train/val.
     result

  • Loss plot of train/val.
     result

  • Accuracy for the test data.
    92.38%

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.