Aprendizaje automático aplicado utilizando TensorFlow

Preview:

Citation preview

Aprendizaje automático aplicado utilizando TensorFlow

Nicolas Bortolotti@nickbortolotti

Comunicación

@nickbortolotti

G+ - Linkedin - Facebook

Agenda

● Visión General TensorFlow● Computer Vision Stories, TensorFlow

Object Detection API ● Recursos sobre TensorFlow● Preguntas

Story

Object Detection, dinner with friends.

TensorFlow Object Detection in videos, avoiding pizza, donuts and cakes.

TensorFlow Object Detection, an overview of Facebook publications.

TensorFlow Photo x-Ray Object Detection with App Engine.

Tensor Flow Object Detection over Telegram Bot, my breakfast, fruits and an interactive conversation.

ref: https://github.com/tensorflow/models/tree/master/object_detection

Story [spanish]

TensorFlow Object Detection API, cena con amigos

TensorFlow Object Detection en videos, basta de pizza, donuts y cakes…

TensorFlow Object Detection, una mirada a las publicaciones en Facebook

TensorFlow radiografía de imágenes utilizando Object Detection con App Engine

TensorFlow Object Detection sobre Telegram Bot, mi desayuno, frutas y una conversación interactiva.

ref: https://github.com/tensorflow/models/tree/master/object_detection

Recursos Tensor Flow

Videos:

TensorFlow: Machine Learning for Everyone

TensorFlow Dev Summit 2017

Machine Learning Recipes with Josh Gordon

Open Source TensorFlow Models (Google I/O

'17)

Books:

“Hello World” en TensorFlow (free + spanish)

Hands-On Machine Learning with Scikit-Learn

and TensorFlow

Building Machine Learning Projects with

TensorFlow

Code Labs:

TensorFlow for poets 1/2

https://www.tensorflow.org/

El espectro del Aprendizaje Automático

TensorFlow Cloud Machine Learning Machine Learning APIs

Industry / applications

Academic / research

credits: Kaz Sato

La librería open source de Google para

aprendizaje inteligente.

tensorflow.org se lanzó en Nov 2015

La segunda generación utilizada por muchos proyectos de producción ML

Que es TensorFlow?

credits: Kaz Sato

Que es TensorFlow?

Tensor: Arreglo N-dimensional

Flow: data flow computation framework (like MapReduce)

*Para Machine Learning y Deep Learning

o cualquier aplicación de HPC (High Performance Computing)

credits: Kaz Sato

www.tensorflow.org

https://www.tensorflow.org/

Linkcredits: Jeff Dean

TensorFlow: Expressing High-Level ML Computations

● Different front ends for specifying/driving

the computation

○ Python and C++ today, easy to add

more

Core TensorFlow Execution System

CPU GPU Android iOS ...

C++ front end Python front end ...

credits: Jeff Dean

● Core in C++

○ Very low overhead

MatMul

Add Relu

biases

weights

examples

labels

Xent

Graph of Nodes, also called Operations or ops.

Computation is a dataflow graph

credits: Jeff Dean

with tensors

MatMul

Add Relu

biases

weights

examples

labels

Xent

Edges are N-dimensional arrays: Tensors

Computation is a dataflow graph

credits: Jeff Dean

with state

Add Mul

biases

...

learning rate

−=...

'Biases' is a variable −= updates biasesSome ops compute gradients

Computation is a dataflow graph

credits: Jeff Dean

GPU 0 CPU

Add Mul

biases

learning rate

AssignSub

......

distributedComputation is a dataflow graph

credits: Jeff Dean

Hours

2.6 hours vs. 79.3 hours (30.5X)

10 GPUs50 GPUs

1 GPU

Image Model Training Time

credits: Jeff Dean

TensorBoard: herramienta de visualización

credits: Kaz Sato

Portable

● Training on:

○ Data Center

○ CPUs, GPUs and etc

● Running on:

○ Mobile phones

○ IoT devices

credits: Kaz Sato

Tensor Processing Unit

ASIC for TensorFlow

Designed by Google

10x better perf / watt

latency and efficiency

bit quantization

credits: Kaz Sato

Use Cases

signalfor Search ranking,

out of hundreds

improvementto ranking quality

in 2+ years

#3 #1

Search

machine learning for search engines

RankBrain: a deep neural network for search ranking

[glacier]

Google Photos

22

Smart reply in Inbox by Gmail

10%of all responses sent on mobile

Google Translate with Neural Machine Translation

ref: https://research.googleblog.com/2016/09/a-neural-network-for-machine.html

AlphaGo

Saved Data Center cooling energy for 40%Improved Power Usage Effectiveness (PUE) for 15%

Detection of Diabetic disease: better than doctors

ref: https://research.googleblog.com/2016/11/deep-learning-for-detection-of-diabetic.html

WaveNet by

DeepMind

ref: https://deepmind.com/blog/wavenet-generative-model-raw-audio/

AndroidAppsGmailMapsPhotosSpeechSearchTranslationYouTubeand many others ...

Used across products:

2012 2013 2014 2015

Deep Learning usage at Google

Machine Learning Languages

Startups and Machine Learning

Models

References: https://github.com/tensorflow/models

● object_detection: localizing and identifying multiple objects in a single image.● inception: deep convolutional networks for computer vision.● im2txt: image-to-text neural network for image captioning.● audioset: Models and supporting code for use with AudioSet.● syntaxnet: neural models of natural language syntax.● video_prediction: predicting future video frames with neural advection.● ...

Story [spanish]

TensorFlow Object Detection API, cena con amigos

TensorFlow Object Detection en videos, basta de pizza, donuts y cakes…

TensorFlow Object Detection, una mirada a las publicaciones en Facebook

TensorFlow radiografía de imágenes utilizando Object Detection con App Engine

TensorFlow Object Detection sobre Telegram Bot, mi desayuno, frutas y una conversación interactiva.

Recursos Tensor Flow

Videos:

TensorFlow: Machine Learning for Everyone

TensorFlow Dev Summit 2017

Machine Learning Recipes with Josh Gordon

Open Source TensorFlow Models (Google I/O

'17)

Books:

“Hello World” en TensorFlow (free + spanish)

Hands-On Machine Learning with Scikit-Learn

and TensorFlow

Building Machine Learning Projects with

TensorFlow

Code Labs:

TensorFlow for poets 1/2

https://www.tensorflow.org/

Thanks!

Recommended