diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 19:59:46 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 19:59:46 +0100 |
| commit | a370fcc440d99f728dfc4832e94c758e0b92bc63 (patch) | |
| tree | bc67ba2bda96b59cf3db10b95dccf0be8c9045b6 /CMakeLists.txt | |
| parent | edd549e1527444ae9c74c70f1e3e44b11862f3da (diff) | |
CNN v2 training: Refactor train_cnn_v2_full.sh for maintainability
- Add helper functions: export_weights(), find_latest_checkpoint(), build_target()
- Eliminate duplicate export logic (3 instances → 1 function)
- Eliminate duplicate checkpoint finding (2 instances → 1 function)
- Consolidate build commands (4 instances → 1 function)
- Simplify optional flags with inline command substitution
- Fix validation mode: correct cnn_test argument order (positional args before --cnn-version)
- 30 fewer lines, improved readability
handoff(Claude): Refactored CNN v2 training script, fixed validation bug
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
