Giter Site home page Giter Site logo

sapto7777 / aws-summit-2017-seoul Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sxjscience/aws-summit-2017-seoul

0.0 2.0 0.0 30 KB

Demo codes in our presentation about MXNet in AWS Seoul Summit 2017

Python 19.25% Jupyter Notebook 80.75%

aws-summit-2017-seoul's Introduction

AWS Seoul Summit 2017 Demos

Demo codes in our presentation about MXNet in AWS Seoul Summit 2017

File Name Description
mxnet-logistic_regression_diabetes.ipynb The logistic regression example
mxnet-2hidden_fnn_diabetes.ipynb The classification example using FNN with 2 hidden layers
mxnet-mnist_deep_cnn.ipynb Example of classifying MNIST digits with a CNN
mxnet-seq2seq.ipynb The sequence-to-sequence learning example
mxnet_seq2seq_cudnn_speed.py The MXNet side script that uses cudnn accelerated LSTM for seq2seq model
mxnet_seq2seq_native_speed.py The MXNet side script that uses the native implemented LSTM for seq2seq model
keras_seq2seq_speed.py The Keras side script for seq2seq model

You can preview all the notebooks here or using nbviewer.

Also, you can refer to the code and youtube tutorials in DeepLearningZeroToAll for more explanation.

For the speed comparison, we use these commands:

MXNet with CUDNN accelerated LSTM (MXNet using latest master)

python3 mxnet_seq2seq_cudnn_speed.py

MXNet with native LSTM

python3 mxnet_seq2seq_native_speed.py

Keras 2.0.3 with TensorFlow Backend (TensorFlow version 1.0.1)

KERAS_BACKEND=tensorflow python3 keras_seq2seq_speed.py

Keras 2.0.3 with the Theano backend (Theano version 0.9)

KERAS_BACKEND=theano python3 keras_seq2seq_speed.py

We use a single GeForce Titan X GPU (Maxwell) + CUDNN V5.1

Implementation Time spent
MXNet with CUDNN LSTM 3.70s
MXNet with native LSTM 10.83s
Keras with TF backend 48.68s
Keras with Theano backend 49.88s

Also for the Theano speed test, I've run the script twice and report the time took in the second turn.

aws-summit-2017-seoul's People

Contributors

sxjscience avatar

Watchers

James Cloos avatar  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.