diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-22 12:17:30 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-22 12:17:30 +0100 |
| commit | fbc7cfdbcf4e33453b9ed4706f9d30190b1225f4 (patch) | |
| tree | 767b854da2d3171505db52211d3259afdea05573 /scripts/test_headless.sh | |
| parent | 24397204670dff183df2c4b56fa3fcdf87411f08 (diff) | |
feat(cnn_v3): patch alignment search, resume, Ctrl-C save
- --patch-search-window N: at dataset init, find per-patch (dx,dy) in
[-N,N]² that minimises grayscale MSE between source albedo and target;
result cached so __getitem__ pays only a list-lookup per sample.
- --resume [CKPT]: restore model + Adam state from a checkpoint; omit
path to auto-select the latest in --checkpoint-dir.
- Ctrl-C (SIGINT) finishes the current batch, then saves a checkpoint
before exiting; finally-block guarded so no spurious epoch-0 save.
- Review: remove unused sd variable, lift patch_idx out of duplicate
computation, move _LUMA to Constants block, update module docstring.
handoff(Gemini): cnn_v3/training updated — no C++ or test changes.
Diffstat (limited to 'scripts/test_headless.sh')
0 files changed, 0 insertions, 0 deletions
