All Projects → WLOGSolutions → digital_champions_deeplearning_r_mxnet

WLOGSolutions / digital_champions_deeplearning_r_mxnet

Licence: Apache-2.0 license
Showcase for using R + MXNET along with AWS and bitfusion for deep learning.

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to digital champions deeplearning r mxnet

Machine Learning Using K8s
Train and Deploy Machine Learning Models on Kubernetes using Amazon EKS
Stars: ✭ 145 (+625%)
Mutual labels:  mxnet
Coach
Reinforcement Learning Coach by Intel AI Lab enables easy experimentation with state of the art Reinforcement Learning algorithms
Stars: ✭ 2,085 (+10325%)
Mutual labels:  mxnet
Bmxnet V2
BMXNet 2: An Open-Source Binary Neural Network Implementation Based on MXNet
Stars: ✭ 199 (+895%)
Mutual labels:  mxnet
Djl
An Engine-Agnostic Deep Learning Framework in Java
Stars: ✭ 2,262 (+11210%)
Mutual labels:  mxnet
Mobulaop
A Simple & Flexible Cross Framework Operators Toolkit
Stars: ✭ 161 (+705%)
Mutual labels:  mxnet
Imgclsmob
Sandbox for training deep learning networks
Stars: ✭ 2,405 (+11925%)
Mutual labels:  mxnet
Facerecognition
This is an implematation project of face detection and recognition. The face detection using MTCNN algorithm, and recognition using LightenenCNN algorithm.
Stars: ✭ 137 (+585%)
Mutual labels:  mxnet
Fusenet
Deep fusion project of deeply-fused nets, and the study on the connection to ensembling
Stars: ✭ 230 (+1050%)
Mutual labels:  mxnet
Crnn Mxnet Chinese Text Recognition
An implementation of CRNN (CNN+LSTM+warpCTC) on MxNet for chinese text recognition
Stars: ✭ 161 (+705%)
Mutual labels:  mxnet
Gluon Nlp
NLP made easy
Stars: ✭ 2,344 (+11620%)
Mutual labels:  mxnet
Gluon Ts
Probabilistic time series modeling in Python
Stars: ✭ 2,373 (+11765%)
Mutual labels:  mxnet
Deep Learning Containers
AWS Deep Learning Containers (DLCs) are a set of Docker images for training and serving models in TensorFlow, TensorFlow 2, PyTorch, and MXNet.
Stars: ✭ 152 (+660%)
Mutual labels:  mxnet
Xfer
Transfer Learning library for Deep Neural Networks.
Stars: ✭ 177 (+785%)
Mutual labels:  mxnet
Ncnn
ncnn is a high-performance neural network inference framework optimized for the mobile platform
Stars: ✭ 13,376 (+66780%)
Mutual labels:  mxnet
Arcface Multiplex Recognition
适用于复杂场景的人脸识别身份认证系统
Stars: ✭ 200 (+900%)
Mutual labels:  mxnet
Nas
Neural architecture search(NAS)
Stars: ✭ 140 (+600%)
Mutual labels:  mxnet
Mx Lsoftmax
mxnet version of Large-Margin Softmax Loss for Convolutional Neural Networks.
Stars: ✭ 175 (+775%)
Mutual labels:  mxnet
Deeplearning Cfn
Distributed Deep Learning on AWS Using CloudFormation (CFN), MXNet and TensorFlow
Stars: ✭ 252 (+1160%)
Mutual labels:  mxnet
Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+85865%)
Mutual labels:  mxnet
Thinc
🔮 A refreshing functional take on deep learning, compatible with your favorite libraries
Stars: ✭ 2,422 (+12010%)
Mutual labels:  mxnet

Showcase: Deep learning in the cloud. Building a handwritten character recognition model with GNU R and MXNet with Amazon Web Services on GPU instances.

Business story behind the showcase

Optical character recognition (OCR) for handwritten text is applicable in areas where several documents are being used in business for processing large amounts of paper documents. One example could be a traditional post operator that wants to automatically process information on the envelopes. The envelopes are usually not neatly adressed and standard OCR solutions fail in this area. A custom-made character recognition engine designed for this task might receive much better quality level.

Approach

The showcase presents two main things:

  • Construction of deep laerning models with MXNet library
  • How to run GPU computing in the cloud with Amazon Web Services

Prerequisites

We use bitfusion.io Scientific Computing AMI

The AMI contains Ubuntu 14 along with a R installation along with CUDA drivers. Additionally we have installed MXNet running the following commands:

  • sudo apt-get update
  • sudo apt-get install -y build-essential git libblas-dev libopencv-dev
  • git clone --recursive https://github.com/dmlc/mxnet

Next modify config.mk by setting the following keys:

 USE_CUDA = 1
 USE_CUDA_PATH = /usr/local/cuda
 USE_BLAS = atlas

Finally, compile mxnet with the command make –j4

Usage instruction

  1. Install R packages 01_install_packages.R
  2. Prepare the dataset 02_download_datasets.R
  3. Declare layers for the deep neural network 03_declare_mlp_model.R
  4. Create data iterators for seuential data reading 04_prepare_data_iterators.R
  5. Fit the model to the data 05_fit_mlp_model.R
  6. If the fitting process is interrupted a script for resuming computation state can be used: 06_restart_mlp_model.R
  7. Perform predictions and observe the results 07_predict_mlp_model.R

What next

This example presents one possible usage of deep learning models for classification of images. One important problem is selection of an optimal structure for a deep neural network. This requires execution of several experiments for measuring predictive capabilities for various network topologies. Amazon Web Services comes forward to this need and offers very large GPU instances. The flagship offering is a p2.16xlarge offering 16 x GPU Nvidia TESLA K80 with a total of 80'000 GPU cores. This machine availabe from around $2.10 on AWS spot market would make it to the list of Top Supercomputers just 10 years ago.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].