summaryrefslogtreecommitdiff
path: root/scripts/check_all.sh
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-22 12:17:30 +0100
committerskal <pascal.massimino@gmail.com>2026-03-22 12:17:30 +0100
commitfbc7cfdbcf4e33453b9ed4706f9d30190b1225f4 (patch)
tree767b854da2d3171505db52211d3259afdea05573 /scripts/check_all.sh
parent24397204670dff183df2c4b56fa3fcdf87411f08 (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/check_all.sh')
0 files changed, 0 insertions, 0 deletions