diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-25 06:25:53 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-25 06:25:53 +0100 |
| commit | a71c95c8caf7e570c3f484ce1a53b7acb5ef2006 (patch) | |
| tree | 9ff08f15ef79c7752a3389e7fb2c54ce3ba7eb72 /tools/mq_editor/style.css | |
| parent | fc74d8e36449e0040564debd381e666df40d671b (diff) | |
feat(cnn_v3/tools): embed default weights in HTML tool; add --html export flag
- cnn_v3/tools/weights.js: new file — base64-encoded cnn_v3_weights.bin +
cnn_v3_film_mlp.bin; loaded at startup so the tool works without dropping files
- tester.js: preload() falls back to embedded weights.js constants when fetch
fails; logs "Loaded embedded" vs "Preloaded" to distinguish the two paths
- index.html: load weights.js before tester.js
- export_cnn_v3_weights.py: add --html / --html-output flags that call
update_weights_js() to regenerate weights.js after a training run
- HOW_TO_CNN.md: update pipeline diagram, §3 export commands, §7 HTML tool
section (file table, workflow, weights.js description), Appendix A
handoff(Gemini): weights.js now the canonical source for HTML tool defaults;
regenerate with `uv run export_cnn_v3_weights.py <ckpt> --output ... --html`
Diffstat (limited to 'tools/mq_editor/style.css')
0 files changed, 0 insertions, 0 deletions
