Skip to content

feat(train): L2+L3 layout training framework and toy loop (#95) - #98

Merged
loootte merged 1 commit into
mainfrom
feature/95-train-framework
Aug 1, 2026
Merged

loootte merged 1 commit into
mainfrom
feature/95-train-framework

Conversation

@loootte

@loootte loootte commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Implements #95 (parent #92 task 3): standalone train/ app for L1–L3 layout learning MVP.

Delivered

  • enpu_train: Dataset (data-spec), synthetic pages, L2 page y-heat + L3 row x-heat models
  • Metrics: L2 mean IoU, L3 split_count_* + mean_abs_x_error
  • CLI: scripts/train.py, eval.py, viz_sample.py, project export wrapper
  • Config configs/mvp_l2_l3.yaml; README with structure mapping + core load sketch
  • Smoke tests (4) + verified 2-epoch toy train (real L001 + 8 synth)

Not in scope

  • core learned_l1l3 plugin (P2)
  • production accuracy

Closes #95

Add train/ app with data-spec Dataset, synthetic samples, page y-heat
and row x-heat models, metrics, train/eval CLI, weight export, and tests.

Closes #95
@loootte
loootte merged commit 199e1d5 into main Aug 1, 2026
3 checks passed
@loootte
loootte deleted the feature/95-train-framework branch August 1, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(train): 训练 Framework 骨架与 toy 训练

1 participant