neuromancer Svelte Themes

Neuromancer

[Work in progress] Real-time 3D visualilzer for convolutional neural networks

Neuromancer

šŸ‘€ Visualize Neural Networks Blazingly Fast Bun Logo in 3D

Preview GIF

How it works

  • I run a neural network in a seperate webworker using ONNX Web Runtime.
  • The neural net has been modified to expose its internal tensors. Output from the neural net is transferred over to main thread using efficient Transferable ArrayBuffer.
  • The 3D neural network is updated asynchronously @ 30 FPS.

How it works

This dual-thread architecture is also reflected in source:

./web
ā”œā”€ā”€ onnx/
ā”œā”€ā”€ ui/
ā”œā”€ā”€ bridge.ts
└── main.ts

Models You Can Visualize

  1. Convolutional neural network for identifying handwritten digits (MNIST dataset)
  2. AlexNet (planned)

Models have been modified using ONNX python package.

[!NOTE]
Work in progress- More models and features are on the way 🫔

Visit the Live Demo or Run Locally

  git clone https://github.com/rudrowo/neuromancer &&\
  cd neuromancer &&\
  npm install &&\
  npm run preview

Inspired by


Icons attribution: SVGRepo, Wikimedia Commons

Top categories

Loading Svelte Themes