Skip to content

Test Gaussian targets and quality focal loss for rally boundaries - #39

Draft
MaxLinCode wants to merge 2 commits into
mainfrom
codex/rally-boundary-qfl
Draft

MaxLinCode wants to merge 2 commits into
mainfrom
codex/rally-boundary-qfl

Conversation

@MaxLinCode

@MaxLinCode MaxLinCode commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Experiment

Compare three training recipes across seven recordings and four held-out camera folds. The three arms use identical features, split windows, reviewed labels, boundary annotations, seed 1729, and a 25-epoch fold budget.

  • Triangle/BCE uses the existing targets and weighted BCE on both heads.
  • Both Gaussian/QFL uses Gaussian sigmas of 0.10 seconds for starts and 0.35 seconds for ends.
  • End-only Gaussian/QFL uses the baseline's exact start target and weighted BCE with the 0.35-second Gaussian and Quality Focal Loss for ends.

Held-out results

Camera-macro metric Triangle/BCE Both Gaussian/QFL End-only Gaussian/QFL
Interval F1 0.770 0.792 0.769
Decoded start MAE (frames) 9.26 9.16 9.39
Decoded end MAE (frames) 19.57 17.47 19.95
Start head AP within ±0.2 s 0.372 0.291 0.480
End head AP within ±0.5 s 0.364 0.385 0.365

The hybrid gave the best start-head AP on all four cameras. Decoded end error for the hybrid was close to baseline. On the 121 rallies matched by all three arms, decoded end MAE was 19.77, 17.73, and 19.68 frames, respectively. The decoder reads InPlay scores. Keep the alternative recipes opt-in.

Verification

  • CUDA training, held-out evaluation, and experiment checkpoint export completed for all three recipes.
  • Focused rally tests passed locally with 57 passed and 1 skipped.
  • The required Python 3.11 CPU checks passed.

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.

1 participant