Improve MoT boundary handling and analysis tooling - #137
Draft
NOONELIKEYOU8 wants to merge 1 commit into
Draft
Conversation
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
This PR delivers the reviewable code portion of Tencent/YOLO-Master Issue #54:
C2fMoA/C2fMoTmodel parsing so repeat counts are inserted correctly instead of shifting MoT YAML arguments;_WindowTransformerExpert;Why
Issue #54 asks for reproducible MoT/MoA/EsMoE ablation, real latency/FLOPs measurement, expert-routing explainability, and explicit boundary coverage. During validation, two correctness defects were confirmed:
C2fMoAandC2fMoTwere absent fromrepeat_modules, so model YAML repeat counts could shift positional arguments (for example, interpretingwindow_size=7astop_k=7)._WindowTransformerExpertreplaced every nonzero explicit shift withwindow_size // 2, silently ignoring the caller's requested value.The routing script also resized images by distortion and could treat multiple layer rows from one image as independent samples. The updated analysis preserves aspect ratio and uses the image as the statistical unit.
Experimental outcome
The complete VisDrone experiment used seed 42, 640 px, batch 16, FP32, and 300 epochs for EsMoE, MoT, MoA, and MoA+MoT. EsMoE was the strongest measured model at 0.19937 mAP50-95 and 16.92 ms P50. Neither the heavy mixture nor the preregistered lightweight candidates met the Issue #54 synergy threshold.
Because no hybrid candidate produced stable meaningful gain, this PR intentionally does not add the experimental YAMLs as recommended configurations. The full negative result, routing contrasts, and deployment recommendations are published separately in the linked GitHub Discussion.
Validation
22 passed;exploration_eps;Related to #54.