Repository navigation
Add isolated footage augmentation experiment for InPlay - #34
Draft
MaxLinCode wants to merge 2 commits into
Draft
MaxLinCode wants to merge 2 commits into
MaxLinCode wants to merge 2 commits into
Conversation
Implement the footage augmentation plan as an isolated source workflow: register mirrored, lighting, and H.264 variants under new source IDs and artifact roots; rerun person tracking and RTMPose player extraction; write extended source-local rally annotations; and train paired baseline/augmented arms with fixed windows, class weights, and optimizer steps. Record the seven-source, four-camera pilot: horizontal flip improves macro interval F1 from 0.6673 to 0.7777 with full_motion and from 0.7816 to 0.8090 with full_audio_zscore_motion, improving three of four held-out cameras. Lighting and compression are not reliable arms.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the footage augmentation plan as an isolated source workflow:
horizontal-flip,lighting-color,h264-low(CRF 32), andh264-control(CRF 16) transforms insrc/workflow/augmentation.py. Variants get their own source IDs and artifact roots; the parent video, calibration, tracks, poses, and annotations are only read.python -m src.workflow augment list|create.tools/build_footage_augmentation.pyto render variants, rerun BoT-SORT + RTMPose, and write extended source-local rally annotations and arm configs.experiments/temporal_selector/footage_augmentation_experiment.py, a paired baseline/augmented harness with shared chronological windows, class weights, source draw stream, and optimizer steps. Validation, decoder calibration, and held-out scoring use originals only.Pilot result
Seven 30 fps sources, four camera-held-out folds, seed 1729, 25 epochs. The baseline macro interval F1 is identical across arms (0.6673 with
full_motion, 0.7816 withfull_audio_zscore_motion).full_motionfull_audio_zscore_motionfull_motionfull_motionfull_motionfull_audio_zscore_motionHorizontal flip is the only consistent winner: it improves three of four held-out cameras under both feature views, and under
full_motionit cuts boundary MAE from 18.84 to 13.33 frames, signed start error from 15.05 to 4.13 frames, and false splits from 4.25 to 3.50. Lighting and H.264 quality are not reliable arms. The current best recorded model (macro interval F1 0.7705,full_audio_zscore_motion) is slightly below the audio-recipe flip arm (0.8090), but that is a cross-runner comparison; the controlled delta is +0.0274.Full tables and interpretation are in
docs/plans/inplay-data-augmentation.md.Validation
E4,E7,E9,Fis clean;git diff --checkpasses.Notes
Variant footage, observations, checkpoints, and metrics stay in ignored local/remote experiment storage. The tracked change is the workflow and experiment code, the plan results, and tests.