Slide 1

Slide 1 text

ML & JS No you’re not dreaming

Slide 2

Slide 2 text

ML & JS No you’re not dreaming

Slide 3

Slide 3 text

@yashints

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

@yashints Or is it? ➔

Slide 6

Slide 6 text

@yashints

Slide 7

Slide 7 text

Lead consultant @Readify Meet Yaser @yashints yashints.dev

Slide 8

Slide 8 text

Why do it in browser? Wide distribution Interactive Sensors Data stays on the client

Slide 9

Slide 9 text

@yashints https://playground.tensorflow.org

Slide 10

Slide 10 text

@yashints Tensorflow.js

Slide 11

Slide 11 text

@yashints Allows inference and training entirely in the browser or Node.js Released March 2018 GPU-accelerated via WebGL TensorFlow.js

Slide 12

Slide 12 text

@yashints Empower a diverse group of developers Enable ML peeps to port their work to web

Slide 13

Slide 13 text

@yashints Build your own Run existing models Retrain with transfer learning

Slide 14

Slide 14 text

@yashints TF TPU TF GPU Core API WebGL Layers API Model Browser Node.js TF CPU Keras Model Tensorflow Saved models

Slide 15

Slide 15 text

@yashints Pre-trained models https://github.com/tensorflow/tfjs-models • MobileNet Object detection • PoseNet Human pose detection • CocoSSD Object localisation • BodyPix Human segmentation • USE Text classification

Slide 16

Slide 16 text

@yashints Browser examples

Slide 17

Slide 17 text

@yashints BodyPix demo

Slide 18

Slide 18 text

@yashints

Slide 19

Slide 19 text

@yashints Creatability yas.fyi/2Zl4N2p

Slide 20

Slide 20 text

@yashints Airbnb

Slide 21

Slide 21 text

@yashints Speech command

Slide 22

Slide 22 text

@yashints Node.js & Desktop

Slide 23

Slide 23 text

@yashints yas.fyi/2GBJF0s Doctor Clinic

Slide 24

Slide 24 text

@yashints yas.fyi/2LUfBkX Magenta Studio

Slide 25

Slide 25 text

@yashints Retraining in Node.js

Slide 26

Slide 26 text

@yashints Retraining in Node.js

Slide 27

Slide 27 text

@yashints Demo

Slide 28

Slide 28 text

@yashints “A year spent in artificial intelligence is enough to make one believe in God.” “ Alan Perlis

Slide 29

Slide 29 text

@yashints References https://www.tensorflow.org/js https://github.com/tensorflow/tfjs-examples https://www.freecodecamp.org/news/tensorflowjs-full-course/ https://codelabs.developers.google.com/ https://yashints.dev/blog/2018/11/27/get-started-with-tensorflowjs

Slide 30

Slide 30 text

Reach out Thanks! @yashints yashints.dev