diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-14 01:00:52 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-14 01:00:52 +0100 |
| commit | a29d83f6de08ace2db12347c85be959103d98db5 (patch) | |
| tree | a3a05cf75ef4db5bd103febb475f909022b1d82c /src/3d/physics.h | |
| parent | ee58ffce299eca055e5668381061cd996d6fd4f6 (diff) | |
Fix CNN v2 static feature channel mapping (p4-p7 → channels 8-11)
Fixed bug in gen_identity_weights.py --p47 mode: static features p4-p7
(uv_x, uv_y, sin20_y, bias) are at input channels 8-11, not 4-7.
Weight tensor layout:
- Channels 0-3: Previous layer output (4D RGBA)
- Channels 4-11: Static features (8D: p0-p7)
Static features:
- p0-p3 (channels 4-7): RGB+D from mip level
- p4-p7 (channels 8-11): uv_x, uv_y, sin20_y, bias
Updated:
- training/gen_identity_weights.py: Change weights[i,i+4] to weights[i,i+8]
- workspaces/main/weights/mix_p47.bin: Regenerated (not in repo)
- doc/CNN_V2.md: Add Input Channel Mapping section with full layout table
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/3d/physics.h')
0 files changed, 0 insertions, 0 deletions
