Custom vision

PushkarSaraf 332 views 25 slides Mar 21, 2019
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

Azure Custom Vision, Artificial Intelligence, AI, ML MIcrosoft Technology stack


Slide Content

Custom Vision Service Global AI Bootcamp Pushkar Saraf 1

Cognitive Services Computer Vision vs Custom Vision how they differ Which scenarios to chose for either. Time to Market Taking it to the EDGE Overview Project Brainwave and FPGA’s Intel ComputeStick for edge devices Agenda

Azure Cognitive Services Emotion Speaker Recognition Speech Custom Recognition Computer Vision Face Video Search Speech Language Knowledge Vision Linguistic Analysis Language Understanding Bing Spell Check Entity Linking Knowledge Exploration Academic Knowledge Bing Image Search Bing Video Search Bing Web Search WebLM Text Analytics Recommendations Bing Autosuggest Bing News Search Translator Bot Framework Cognitive Services

What is it? An API What does it do ? Classification | Object Detection What do I need to know ? Object’s [] Model Custom Vision

Custom Vision Service Export to Container (export DockerFile + model +service) and to ONNX S0 tier expanded to up to 250 tags and 50,000 images.

Upload Images Upload your own labeled images, or use Custom Vision Service to quickly tag any unlabeled images. Train Use your labeled images to teach Custom Vision Service the concepts you want it to learn. Evaluate Use simple REST API calls to quickly tag images with your new custom computer vision model. Active learning Images evaluated through your custom vision model become part of a feedback loop you can use to keep improving your classifier. Custom Vision Service

Upload Images Upload your own labeled images, or use Custom Vision Service to quickly tag any unlabeled images. Train Use your labeled images to teach Custom Vision Service the concepts you want it to learn. Evaluate Use simple REST API calls to quickly tag images with your new custom computer vision model. Active learning Images evaluated through your custom vision model become part of a feedback loop you can use to keep improving your classifier. Custom Vision Service

How it Works

FACT: There is a lot of work.

Create a Project

Add Images

Upload Images

Test Results

Export models as packages Announcement: https://aka.ms/cvsexport Sample: https://github.com/Azure-Samples/cognitive-services-ios-customvision-sample Xamarin port: https://github.com/Xamarin/ios-samples/tree/master/ios11/CoreMLAzureModel

Best Practices for using Custom Vision Use at least 30 images for each tag Images should be the focus of the picture Use sufficiently diverse images and backgrounds (ex: cats with red background and dogs with blue background) Train with images that are similar in {quality, resolution, lighting, etc.} to the images that will be used in prod Supports Microsoft accounts (MSA) and AAD

Resources: Custom Vision Service Get started at http://customvision.ai Programmatic API access using C# (Python and Node SDKs coming soon): https://github.com/Microsoft/Cognitive-CustomVision-Windows

Project BrainWave : FPGA’s Get started at http://customvision.ai Programmatic API access using C# (Python and Node SDKs coming soon): https://github.com/Microsoft/Cognitive-CustomVision-Windows

Brainwave Stack

FPGA’s Block

Container Registry Machine Learning (Model Management) Azure VM Raspibian Docker for Linux AML Module Picture Jpeg File Result Serialized Data Data Check & Determination HTTP Generate Result SenseHat Docker Apps AML Package for Computer Vision Camera Extending The AI to edge

Going Beyond 4  teraflops GTX 1080 : 9 teraflops Intel FPGA’s 39 Tera flops 1 Teraflop = 10^2 computations 1 Teraflop = 1000 GFlops 1 Teraflop = 31688 years compare to single compute per/sec calculations

Get connected… http://www.puneusergroup.org http://www.facebook.com/puneusergroup http://twitter.com/puneusergroup http://www.linkedin.com/groups/Pune-User-Group-2023294 # PuneDevCon 23

Get connected… http://www.puneusergroup.org http://www.facebook.com/puneusergroup http://twitter.com/puneusergroup http://www.linkedin.com/groups/Pune-User-Group-2023294 # PuneDevCon 24

Celebrating 14 glorious years of sharing passion 25 PUG Technology Foundation