~/talk

Using Pytorch, AI, WebGL and React to make 3d avatars of our users

Talkat Armada JS 2023 · 2023-10-05..10-06· [machine-learning, web-animation]
slides:none on file

Runs a daily cron that sends new user photos to a PyTorch depth model (Midas, later switched to a better “zoo” variant) and stores generated depth maps on CDN, then renders them client-side with a rewritten shader in a WebGL+React component that gracefully falls back to the original image. Replaces painful GPU VPS + Python stack by calling Replicate’s hosted models via API so no maintainer-managed ML infra is needed. Works at scale but Midas has occasional failures; shader fix removed a visible echo.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:56Why upgrade avatars to 3D
  3. 11:02Depth map extraction with PyTorch
  4. 16:27Solving scalability with Replicate
  5. 22:38Displaying 3D avatars in React
  6. 24:46Future of AI-driven 3D avatars
  7. 26:54Conclusion and takeaways
~/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.