tomgoldstein/loss-landscape
Code for visualizing the loss landscape of neural nets observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3092
- days_rel: n/a
- days_push: 1611
- n_releases_24m: 0
Adoption not part of the score
3199 stars · 440 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyTorch code for visualizing the loss landscape of neural networks, from the NIPS 2018 paper 'Visualizing the Loss Landscape of Neural Nets'. It computes and plots 1D/2D loss surfaces along random directions near trained parameters, with MPI-based multi-GPU/multi-node parallelism and HDF5 output.
Use cases
- visualize the loss landscape of a pretrained neural network
- plot 1D linear interpolation between two model minimizers
- compare flatness of minima trained with different batch sizes
- render 2D loss surface plots for a CIFAR-10 model
- study how skip connections affect loss geometry
When to choose
- you have a pretrained PyTorch model and want to visualize its loss surface
- you need reproducible code for the NIPS 2018 loss landscape paper
- you want MPI-parallel loss computation across multiple GPUs or nodes
When to avoid
- you need a maintained library with recent PyTorch support - it targets PyTorch 0.4
- you want interactive visualization rather than script-generated plots
- your models are not PyTorch state_dicts for CIFAR-10-style architectures
Facets
library · maturity maintenance
data-visualization machine-learning gpu-computing deep-learning data-visualization machine-learning python pytorch loss-landscape hdf5 mpi research-code nips-2018 linux gpu
1 source
- readme: https://github.com/tomgoldstein/loss-landscape · fetched 2026-08-28 · e53a41879d56
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tomgoldstein/loss-landscape | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="tomgoldstein/loss-landscape")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem