summaryrefslogtreecommitdiff
path: root/checkpoints/checkpoint_epoch_5.pth
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-13 20:43:17 +0100
committerskal <pascal.massimino@gmail.com>2026-02-13 20:43:17 +0100
commit60fe2ae74267eba1c33b8e00f0f4d6906cc6eea3 (patch)
tree0fb4f4cc05caa879ad070cb6a9e9548262032724 /checkpoints/checkpoint_epoch_5.pth
parent23d286e2fda7fe8380f92b13b6840363cf2bfb5a (diff)
CNN v2 web tool: Fix static features shader sampling and header offset
Root cause: HTML tool was producing incorrect output vs cnn_test due to: 1. Linear filtering: textureSampleLevel() with sampler blurred p0-p3 features 2. Header offset bug: Used 4 u32 instead of 5 u32 for version 2 binary format Changes: - Static shader: Replace textureSampleLevel (linear) with textureLoad (point) - Bind group: Use 3 separate mip views instead of sampler - Header offset: Account for version-specific header size (v1=4, v2=5 u32) - Add version field to weights object for correct offset calculation - Add savePNG button for convenience Result: HTML output now matches cnn_test output exactly. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'checkpoints/checkpoint_epoch_5.pth')
0 files changed, 0 insertions, 0 deletions