NRC saved network: cold-start curve, optimiser state, Node path (N11.9 follow-up)

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
34/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start with bench/nrc/network-store.ts, NrcCache.exportNetwork / loadWeights(weights, trained), and MlpEngine.readWeights; then run nrc-pipeline-study scenarios=coldstart to inspect the existing study path. Compare per-frame denoised relMSE and FLIP for loaded and fresh networks, including SVGF and OIDN; the issue also calls for measuring optimiser drift, reviewing cache-key coverage, and investigating a Node bench path. Done means these open questions have measured results or a documented resolution.

Written by the indexing model from the issue text.

Description

enhancement

Task: N11.9 follow-up · Where: bench/nrc/network-store.ts, NrcCache.exportNetwork / loadWeights(weights, trained), MlpEngine.readWeights, page nrc-pipeline

State

Built 2026-11-26 for the browser. The showcase keeps the trained network in IndexedDB and loads it on the next visit, so the page does not start behind the warm-up gate. Saved: the inference (EMA) weights and the trained counts, every 20 s while the camera is still, after 600 training steps under the current lighting. Keyed by SceneDesc sha256 + network settings + path length; an entry is refused for other lighting (unit test).

Checked on the Classroom at 960 × 540: after a reload the gate is open at frame 0, the NRC denoised mean is 0.1161 against plain 0.1153 after 6 frames, no non-finite pixel. A rebuild of the same scene keeps the network (weights bit-identical).

Open

  1. Cold-start curve of a loaded network against a fresh one through the chain (nrc-pipeline-study scenarios=coldstart): per-frame denoised relMSE / FLIP, SVGF and OIDN. Only a mean and a finite check exist so far.
  2. Optimiser state. Adam moments are not saved, so a loaded network starts a new optimiser (and the EMA warm-up) at step 0. Measure whether the first frames after a load drift, and whether saving the moments (2× the size) fixes it.
  3. Stale entries in practice. Lighting is compared as the controls' state; a scene edited outside the controls (other emitters, materials) changes the SceneDesc hash only if the description changes. Check what else should be in the key.
  4. Node / bench path: a file next to the run (upload endpoint), so studies can start from a named network.
Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
15h 19m
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pmndrs/pathtracer

All issues in pmndrs/pathtracer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.