Skip to main content

Real-time neural network weight visualizer for TensorFlow/Keras training

Project description

🧠 NeuroViz

Real-time neural network weight visualizer for TensorFlow/Keras training.

Stop guessing what's happening inside your model. NeuroViz gives you a live web dashboard that shows the actual weight values of every neuron while training — not just loss and accuracy.

✨ Features

  • 🔴 Live Grayscale Neuron Map — Neurons glow from black (near-zero) to white (high magnitude), giving you an instant X-ray of your network
  • 🗺️ Weight Heatmaps — Click any layer to see its full weight matrix as a color-coded heatmap
  • 📊 Weight Distributions — Live histograms showing how weight values are distributed per layer
  • 📈 Training Metrics — Loss and accuracy curves updated in real time
  • ⏱️ Epoch Timeline — Scrub through past epochs to see how weights evolved
  • ⚡ Zero Config — Just add one callback, dashboard opens automatically

🚀 Installation

pip install neuroviz

📖 Usage

from neuroviz import NeuroViz

model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])

# Just add the callback — that's it!
model.fit(x_train, y_train,
          epochs=20,
          validation_data=(x_val, y_val),
          callbacks=[NeuroViz()])

The dashboard will automatically open at http://localhost:5050.

Options

NeuroViz(
    port=5050,           # Web server port (default: 5050)
    open_browser=True,   # Auto-open browser (default: True)
    update_freq='epoch', # Update frequency: 'epoch' or 'batch' (default: 'epoch')
)

🖼️ What You'll See

A dark-themed, premium dashboard with:

  1. Network Diagram — Interactive visualization of your model architecture. Each neuron is colored on a grayscale: black = weight near zero, white = high weight magnitude.
  2. Layer Inspector — Click on any layer to see a heatmap of all its weights.
  3. Distribution Panel — Histograms of weight values for each layer.
  4. Metrics Chart — Live loss and accuracy curves.

📋 Requirements

  • Python >= 3.8
  • TensorFlow >= 2.0

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuroviz_keras-0.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuroviz_keras-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file neuroviz_keras-0.1.0.tar.gz.

File metadata

  • Download URL: neuroviz_keras-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for neuroviz_keras-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5d7e16129826f76c7a2b21658df96d111cfdb2a03ebac68f3f8d870e5268c09
MD5 3c15ef6e4a106a29b7c5a44e271eec43
BLAKE2b-256 d6f1adcb2ea778d692e8dfc779d2888b1d567bf0f3ef7ca61aa8241d30376487

See more details on using hashes here.

File details

Details for the file neuroviz_keras-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neuroviz_keras-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for neuroviz_keras-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 104584b85a8ac0f4c43ae38d5c01cdc40c7f4d63ef28600c1bc6ba67e82f757e
MD5 07a4110f5c9bcf51fe7a3cf8563f07f0
BLAKE2b-256 8a48a77d7c8cf0b70f0719f06215048d137e7f8bc47c9b45658785909764912f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page