GithubHelp home page GithubHelp logo

chattg1 / oreilly-mxnet-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sandeep-krishnamurthy/oreilly-mxnet-workshop

0.0 2.0 0.0 1.3 MB

Lab resources for Oreilly online Apache MXNet workshop

License: Apache License 2.0

Jupyter Notebook 100.00%

oreilly-mxnet-workshop's Introduction

O'Reilly Apache MXNet Workshop Lab Materials

Lab Exercises

  1. Lab 1 - Basics of NDArray (Tensors) - Fundamental Datastructure in Deep Learning
  2. Lab 2 - Fashion MNIST - Train your first Neural Network in Gluon - Multi Layer Perceptron(MLP)
  3. Lab 3 - Facial Emotion Recognition in Gluon - Intuition behind Convolutional Neural Networks(CNN)
  4. Lab 4 - Text to Emoji Prediction in Gluon - Intuition behind Recurrent Neural Networks(RNN)

Prerequisites / Installation

(Option 1) On Ubuntu / Mac

Install Anaconda and Setup Conda Environment

  1. Install Anaconda - https://docs.continuum.io/anaconda/install/mac-os.html
  2. Set up Conda Environment for MXNet development

Execute the below commands for the first time, when you are setting up your machine:

# Download this repository with lab exercises and resources
$ git clone  https://github.com/sandeep-krishnamurthy/oreilly-mxnet-workshop
# Create a conda environment with name "mxnet_dev"
$ conda create -n mxnet_dev python=3 numpy jupyter

# Activate
$ source activate mxnet_dev

# Install MXNet

(mxnet_dev) $ pip install mxnet-mkl # for CPU machines
(mxnet_dev) $ pip install mxnet-cu92 # for GPU machines with CUDA 9.2

# Dependencies for CNN Lab exercise
(mxnet_dev) $ pip install Pillow # For image processing
(mxnet_dev) $ pip install graphviz # For MXNet network visualization
(mxnet_dev) $ pip install matplotlib # For plotting training graphs

# Dependencies for RNN Lab exercise
(mxnet_dev) $ pip install emoji
(mxnet_dev) $ pip install gluonnlp
(mxnet_dev) $ pip install spacy -U --quiet
(mxnet_dev) $ python -m spacy download en

# Dependencies for model serving with MXNet Model Server
(mxnet_dev) $ pip install mxnet-model-server
(mxnet_dev) $ pip install scikit-image
(mxnet_dev) $ pip install opencv-python

# Deactivate the environment
(mxnet_dev) $ source deactivate

Execute, below command whenever you want to work with these Lab exercises: NOTE: Make sure you have cloned (downloaded) this repository and you are in the downloaded directory (oreilly-mxnet-workshop)

# Activate the mxnet_dev conda environment we have prepared
$ source activate mxnet_dev

# Start Jupyter Notebook
(mxnet_dev) $ jupyter notebook

# When you are done. Deactivate the conda environment
(mxnet_dev) $ source deactivate

(Option 2) Use cloud - AWS / Google Cloud

  1. On AWS, you can use pre-configured Deep Learning AMIs, which comes with all frameworks and libraries pre-installed in Conda environments. You just need to launch an EC2 instance with Deep Learning AMI and then get started with coding! See here for Instructions

  2. On Google Cloud, you can use pre-configured Deep Learning images. Similar to AWS Deep Learning AMI, all the deep learning frameworks and required library dependencies are pre-installed and you can just get started with coding! See here for Instructions

Resources

  1. Apache MXNet (Incubating) - http://mxnet.incubator.apache.org/
  2. Learning Deep Learning with Gluon - https://gluon.mxnet.io/
  3. (Highly Recommended) Dive into Deep Learning with Gluon - http://d2l.ai/

oreilly-mxnet-workshop's People

Contributors

sandeep-krishnamurthy avatar

Watchers

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