Node.js <=> Machine Learning
summary
Client-side image captioning runs inference in the browser by converting Python models into JSON and optimized weights with webDNN, loading a CNN (example: ResNet-50 → LSTM pipeline) and generating translated captions inside a Chrome extension. Training stays on servers; inference moves to WebGL/WebAssembly/WebGPU where supported (WebGPU currently limited). Message passing uses content and background scripts. Cost example: server GPUs ran about $24/day GPU. Performance, compatibility, privacy, and model size decide architecture.
AI-written summary · about
chapters (11)
- 0:00Start
- 6:33Server-side ML: The typical setup
- 6:53Challenges with server-side ML
- 8:06But there's good news End-user devices are becoming increasingly powerful
- 9:04client-side ML: A new approach
- 10:27Let's try out client-side ML Example: Image captioning
- 17:36Architecture overview
- 17:51Convert model
- 19:19Load model into browser and run inference
- 21:17Calling the model from a chrome extension
- 24:07Possibilities for client side ML
related talks
23mNode.js = Machine Learning
39mMachine Learning Magic for Your JavaScript Application
26mMachine Learning and AI for Angular Developers
20mTensorFlow.js Bringing Machine Learning to the Web and Beyond
15mThe future of machine learning using JavaScript
24mTensorFlow.js + Node
34mA Powerful Introduction to Machine Learning with Js
31mIntroduction to Machine Learning in Tensorflow.js
