Show HN: Tensor Spy: inspect NumPy and PyTorch tensors in the browser, no upload
4 days ago
- #tensor-visualization
- #browser-tools
- #data-inspection
- Visualize and inspect local tensor files (.npy, .npz, .pt, .pth) directly in the browser.
- Features include slicing, tiling, reshaping, comparing, and hover-inspecting values with local stats and keyboard controls.
- Supports NumPy and PyTorch tensor files with detailed metadata review (shape, dtype, storage order).
- Hover stats provide min/max, mean ± std, and counts of zeros, NaNs, and ±Infs.
- Customizable axes, tiling, and channel layout (channels-first/last).
- High-contrast colors highlight NaN and Inf values for anomaly detection.
- Keyboard shortcuts for navigation (Page Up/Down, Shift+Page Up/Down, arrow keys).
- Compare tensors side by side with consistent layouts.
- Open NPZ/PT bundles, select specific tensors, and export as individual NPY files.
- Reshape tensors before export without full memory materialization.
- Pan, zoom, and inspect fine structure with tile space navigation.
- Processes tensor data in-browser with local caching; no data is uploaded.