Skip to content

fix: resolve file routing crashes by correcting MOT17 directory mismatches#398

Open
rakshaak29 wants to merge 12 commits into
kubeedge:mainfrom
rakshaak29:fix/mot17-filepaths
Open

fix: resolve file routing crashes by correcting MOT17 directory mismatches#398
rakshaak29 wants to merge 12 commits into
kubeedge:mainfrom
rakshaak29:fix/mot17-filepaths

Conversation

@rakshaak29
Copy link
Copy Markdown

Description

This Pull Request resolves a configuration bug in the MOT17 Pedestrian Tracking example where the tracking_job and reid_job benchmarking orchestrators instantly crash.

Changes Included:

  • Fixed Hardcoded Directory Mismatches: Both tracking_job.yaml and reid_job.yaml internal routing paths were strictly referencing the outdated string ./examples/pedestrian_tracking/.... I've updated the relative URLs resolving them correctly to ./examples/MOT17/multiedge_inference_bench/... to reflect the actual repository tree. Running ianvs -f ... no longer throws a FileNotFoundError.

Related Issue

@kubeedge-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rakshaak29
To complete the pull request process, please assign moorezheng after the PR has been reviewed.
You can assign the PR to them by writing /assign @moorezheng in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 13, 2026
@rakshaak29 rakshaak29 force-pushed the fix/mot17-filepaths branch 2 times, most recently from b140c4e to 69b4339 Compare April 13, 2026 16:19
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request improves the portability and robustness of several LLM and tracking examples by replacing hardcoded absolute paths with relative ones, updating device selection logic to support Apple Silicon (MPS), and fixing typos. It also adds safety checks to prevent division-by-zero errors in evaluation metrics. A review comment suggests using zip in the accuracy calculation to avoid potential index errors when comparing prediction and ground truth lists.

@kubeedge-bot kubeedge-bot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Apr 13, 2026
zjteee and others added 12 commits April 13, 2026 21:51
Signed-off-by: Juntao Zhang <juntaozhang22@m.fudan.edu.cn>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
…ix basemodel

- Replace all hardcoded absolute paths with relative paths in YAML configs
- Use HuggingFace Hub model ID (Qwen/Qwen2.5-0.5B-Instruct) instead of local path
- Add missing preprocess() method to BaseModel (required by sedna)
- Add MPS/CPU device detection for macOS compatibility
- Update .gitignore to exclude local dev artifacts

Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
…r torch versions

Signed-off-by: rakshaak29 <rakshak29@gmail.com>
…ainability

Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
… device

Signed-off-by: rakshaak29 <rakshak29@gmail.com>
…ics calculation

Signed-off-by: rakshaak29 <rakshak29@gmail.com>
Signed-off-by: rakshaak29 <rakshak29@gmail.com>
@rakshaak29 rakshaak29 force-pushed the fix/mot17-filepaths branch from 24f4177 to 594e3e9 Compare April 13, 2026 16:23
@kubeedge-bot kubeedge-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MOT17 tracking_job & reid_job fail to launch due to nested directory mismatches

3 participants