summaryrefslogtreecommitdiff
path: root/scripts/gemini_end.sh
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-13 11:36:49 +0100
committerskal <pascal.massimino@gmail.com>2026-02-13 11:36:49 +0100
commit6ca832296a74b3a3342320cf4edaa368ebc56afe (patch)
treedd67e6418699e5b8915daf998acb5883766434a4 /scripts/gemini_end.sh
parent2a793c23b582ed134b8294bfbbe3b6d7aaafe0c0 (diff)
CNN v2 Web Tool: Add layer/weight visualization with debug infrastructure
Features: - Right sidebar with Layer Visualization (top) and Weights Info (collapsible, bottom) - Activations mode: 4-channel grayscale views per layer (Static L0 + CNN layers) - Weights mode: Kernel visualization with 2D canvas rendering - Mode tabs to switch between activation and weight inspection - Per-layer texture storage (separate from ping-pong compute buffers) - Debug shader modes (UV gradient, raw packed data, unpacked f16) - Comprehensive logging for diagnostics Architecture: - Persistent layerTextures[] for visualization (one per layer) - Separate computeTextures[] for CNN ping-pong - copyTextureToTexture after each layer pass - Canvas recreation on mode switch (2D vs WebGPU context) - Weight parsing with f16 unpacking and min/max calculation Known Issues: - Layer activations show black (texture data empty despite copies) - Weight kernels not displaying (2D canvas renders not visible) - Debug mode 10 (UV gradient) works, confirming texture access OK - Root cause: likely GPU command ordering or texture usage flags Documentation: - Added doc/CNN_V2_WEB_TOOL.md with full status, architecture, debug steps - Detailed issue tracking with investigation notes and next steps Status: Infrastructure complete, debugging data flow issues. handoff(Claude): Layer viz black due to empty textures despite copyTextureToTexture. Weight viz black despite correct canvas setup. Both issues need GPU pipeline audit.
Diffstat (limited to 'scripts/gemini_end.sh')
0 files changed, 0 insertions, 0 deletions