Terminal-native ML training visualization
Project description
NuViz
Terminal-native ML training visualization — the Python logging library.
Install
pip install nuviz
# Optional: image logging (Pillow) and ablation YAML export
pip install nuviz[images,yaml]
Usage
from nuviz import Logger
log = Logger("exp-001", project="my_project")
for step in range(10000):
loss = train_step()
log.step(step, loss=loss, psnr=psnr)
log.finish()
Images and Point Clouds
log.image("render", predicted_image) # numpy/torch tensor -> PNG
log.pointcloud("gaussians", xyz, colors) # -> binary PLY
log.scene("bicycle", psnr=28.4, ssim=0.92) # per-scene metrics
Ablation Experiments
from nuviz import Ablation
sweep = Ablation("lr_sweep")
sweep.vary("lr", [1e-3, 1e-4, 1e-5])
sweep.toggle("use_augmentation")
for config in sweep.generate():
log = Logger(config.name, seed=42, config_hash=config.hash)
# ... train with config.params ...
GPU Metrics
GPU utilization, memory, and temperature are collected automatically via nvidia-smi polling. Disable with NUVIZ_GPU=0.
Visualize
Install the Rust CLI to visualize logged data:
cargo install nuviz-cli
nuviz watch exp-001 # Live dashboard
nuviz leaderboard --sort psnr # Ranked table
nuviz compare exp-001 exp-002 # Curve overlay
Configuration
All settings can be overridden via environment variables:
| Variable | Default | Description |
|---|---|---|
NUVIZ_DIR |
~/.nuviz/experiments |
Data directory |
NUVIZ_GPU |
1 |
Set 0 to disable GPU collection |
NUVIZ_GPU_POLL |
5.0 |
GPU poll interval (seconds) |
NUVIZ_ALERTS |
1 |
Set 0 to disable anomaly alerts |
Requirements
- Python 3.10+
- No required dependencies (numpy, Pillow, PyYAML are optional)
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nuviz-0.1.0.tar.gz.
File metadata
- Download URL: nuviz-0.1.0.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da33b0204d24adbaa2da382cf764b17f717794755020b1f2af9379af48335a5a
|
|
| MD5 |
5608247423e110222f881c0095fb8f1c
|
|
| BLAKE2b-256 |
14e6ca27ed77dc4ec6bd73083f3fc559d3fda808b0cc65d41545a6c5455d10ea
|
File details
Details for the file nuviz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nuviz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5badb711168f6f80e1b0ea8f9c8ad34511d340cc575e5679acb2c5108ec3ad
|
|
| MD5 |
dfed56143e0e5cacf8595824990b3e56
|
|
| BLAKE2b-256 |
31463f9d8a0af68e938c162bb8c4995ad69d59910bc81025e5a62bf37f452ef7
|