~/talk

Making neural networks run in browser with ONNX

Talkat NDC Melbourne 2022 · 2022-06-20..06-24· [machine-learning, web-platform]
slides:none on file

ONNX provides a portable model format plus runtimes so a model trained in PyTorch/Keras/ML.NET can be exported (torch.onnx / onnx‑mltools), inspected with netron.app visualization, and run with ONNX Runtime Web in the browser via WebAssembly or WebGL. Demo shows exporting an ML.NET model, loading with ort.InferenceSession.create, feeding ort.Tensor shaped to the model (example emotion model needs 1x1x64x64 input and returns a 1x8 tensor), and calling session.run. Benefits: lower latency, offline/safer inference and much smaller deploy than bundling a 4GB framework, but very large models (200MB+) still hurt UX; check the model zoo first.

AI-written summary · about

  1. 0:00ONNX and neural networks in browsers
  2. 5:02What ONNX is and why it matters
  3. 10:22Creating ONNX models from frameworks
  4. 16:50Demo: ML.NET to ONNX
  5. 21:26Deploying ONNX to edge and cloud
  6. 26:50ONNX Runtime with Node.js
  7. 32:38ONNX in the browser
  8. 43:21Key takeaways and use cases
  9. 45:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.