All Projects → Azure → Batch Scoring For Dl Models

Azure / Batch Scoring For Dl Models

Licence: mit
Batch Scoring For Deep Learning Models

Projects that are alternatives of or similar to Batch Scoring For Dl Models

Zero To Jupyterhub K8s
Helm Chart & Documentation for deploying JupyterHub on Kubernetes
Stars: ✭ 888 (+5123.53%)
Mutual labels:  jupyter-notebook
Ccl2019 Chinese Humor Computation
CCL2019,“小牛杯”中文幽默计算任务的数据集及baseline
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
K Nearest Neighbor
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Tensorflow Tutorial
Some interesting TensorFlow tutorials for beginners.
Stars: ✭ 893 (+5152.94%)
Mutual labels:  jupyter-notebook
Illusion
Code for an animated sinusoidal Müller-Lyer illusion
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Nlp Exercises
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Machine Learning
A repository of Jupyter/IPython notebooks with the slides and code examples for my machine learning class.
Stars: ✭ 16 (-5.88%)
Mutual labels:  jupyter-notebook
Naive Bayes Explained
This is a very in depth explination of naive bayes w.r.t implementation in python which can be used in Machine Learning applications.
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Bocd
Bayesian Changepoint Detection
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Ssmdm
Recurrent state-space models for decision making
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Slides
Slides from various talks/courses I've given
Stars: ✭ 16 (-5.88%)
Mutual labels:  jupyter-notebook
Swebert
Arbetsförmedlingen's Swedish BERT models
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Protobuf Uml Diagram
Create UML diagrams from Protobuf compiled .proto files using Python
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Seq2seq Signal Prediction
Signal forecasting with a Sequence-to-Sequence (seq2seq) Recurrent Neural Network (RNN) model in TensorFlow - Guillaume Chevalier
Stars: ✭ 890 (+5135.29%)
Mutual labels:  jupyter-notebook
Music2dance
Generating Dance steps for given music with deep learning
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Geoblend
Geo-aware poisson blending
Stars: ✭ 16 (-5.88%)
Mutual labels:  jupyter-notebook
Ihearit
Prototype of World's Most Economic and Intelligent Hearing Aid System
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Tensorrider self driving car
基于BP神经网络的自动驾驶模型车。包含收集数据、控制模型生成与在线/离线自动运行所需的程序。
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Yandex Big Data Engineering
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Causal Inference For Data Scientists
Notebooks of Python and R code which illustrates basic causal inference using simulated data
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook

Batch Scoring on Azure for Deep Learning Models

Overview

In this repository, we use the scenario of applying style transfer onto a video (collection of images). This architecture can be generalized for any batch scoring with deep learning scenario.

Design

Reference Architecture Diagram

The above architecture works as follows:

  1. Upload your selected style image (like a Van Gogh painting) and your style transfer script to Blob Storage.
  2. Split up your video into individual frames and upload those frames into Blob Storage.
  3. Logic App will then be triggered, and will create an ACI that runs a Batch AI job creation script.
  4. The script running in ACI will create the Batch AI jobs. Each job will apply the style transfer in parallel across the nodes of the Batch AI cluster.
  5. Once the images are generated, they will be saved back to Blob Storage.
  6. Finally, you can download the generates frames, and stitch back the images into a video.

Style Transfer for Video

Style image: Input/content video: Output video:
click to view video click to view video

Prerequisites

Local/Working Machine:

Accounts:

While it is not required, it is also useful to use the Azure Storage Explorer to inspect your storage account.

Setup

  1. Clone the repo git clone <repo-name>
  2. cd into the repo
  3. Setup your conda env using the environment.yml file conda env create -f environment.yml - this will create a conda environment called batchscoringdl
  4. Activate your environment source activate batchscoringdl
  5. Log in to Azure using the az cli az login
  6. Log in to Docker using the docker cli docker login

Steps:

Run through the following notebooks:

  1. Apply style transfer locally
  2. Download and preprocess the video
  3. Setup Azure
  4. Run style transfer at scale
  5. Run the Batch AI job from Docker
  6. Deploy and test Logic Apps
  7. Stitch together the results

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

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