TO T H E F R O N T E N D After this talk, we will know about: • Recent innovation that enables client-side machine learning • What client-side machine learning can do for us
TO T H E F R O N T E N D After this talk, we will know about: • Recent innovation that enables client-side machine learning • What client-side machine learning can do for us • How we can start leveraging it today
H I N E L E A R N I N G I N N OVAT I O N S • Hardware improvements – The GPU (and the NPU, and the TPU etc) • Software improvements • TensorFlow (and TensorFlow.js), PyTorch
H I N E L E A R N I N G I N N OVAT I O N S • Hardware improvements – The GPU (and the NPU, and the TPU etc) • Software improvements • TensorFlow (and TensorFlow.js), PyTorch • WebGPU
H I N E L E A R N I N G I N N OVAT I O N S • Hardware improvements – The GPU (and the NPU, and the TPU etc) • Software improvements • TensorFlow (and TensorFlow.js), PyTorch • WebGPU • Technique improvements https://arxiv.org/pdf/1706.03762
I C E M L W I T H T FJ S A N D M E D I A P I P E • We will use TensorFlow.js and MediaPipe • Developed by Google • MediaPipe Models gives us tons of light-weight ML models for free
I C E M L W I T H T FJ S A N D M E D I A P I P E • We will use TensorFlow.js and MediaPipe • Developed by Google • MediaPipe Models gives us tons of light-weight ML models for free • Can be customizable through MediaPipe Model Maker
I C E M L W I T H T FJ S A N D M E D I A P I P E • We will use TensorFlow.js and MediaPipe • Developed by Google • MediaPipe Models gives us tons of light-weight ML models for free • Can be customizable through MediaPipe Model Maker • We will use the @mediapipe/hands library in this demo.
Uses @tensorflow- models/coco-ssd for object- detection • An app to monitor your pet 🐶 • Is live on https://ngpetcam.web.app and code can be accessed on https://github.com/markusingv arsson/aiayn-ng-pet-cam
required for client-side machine learning • When client-side machine learning makes sense: • Smooth on-device performance • Offline Support • Privacy • Enable ML when Server-Side ML is impractical (e.g. cost)
required for client-side machine learning • When client-side machine learning makes sense: • Smooth on-device performance • Offline Support • Privacy • Enable ML when Server-Side ML is impractical (e.g. cost) • Optimistic future