Skip to content

fix: update stale pedestrian_tracking paths to fix broken examples#392

Open
ARYANPATEL-BIT wants to merge 1 commit intokubeedge:mainfrom
ARYANPATEL-BIT:fix/update-pedestrian-tracking-paths-to-mot17
Open

fix: update stale pedestrian_tracking paths to fix broken examples#392
ARYANPATEL-BIT wants to merge 1 commit intokubeedge:mainfrom
ARYANPATEL-BIT:fix/update-pedestrian-tracking-paths-to-mot17

Conversation

@ARYANPATEL-BIT
Copy link
Copy Markdown

What does this PR do?

This PR fixes a critical pathing issue in the MOT17 benchmark example that was preventing it from running. It appears the example directory was previously renamed from pedestrian_tracking to MOT17, but the internal file references within the .yaml configs and .py files were never updated.

This PR performs a global replacement of:

./examples/pedestrian_tracking/

to:

./examples/MOT17/

across all affected configuration files and scripts.

Why is it needed?

Currently, running:

ianvs -f ./examples/MOT17/multiedge_inference_bench/pedestrian_tracking/tracking_job.yaml

(or the reid_job.yaml) fails immediately with a FileNotFoundError, because Ianvs attempts to resolve the testenv, algorithm, and metric scripts at the old path.

Resolving these paths restores the out‑of‑the‑box functionality of the MOT17 benchmarking examples, allowing both tracking and ReID jobs to run without path errors.

Changes proposed

Replaced the stale path pedestrian_tracking/multiedge_inference_bench with MOT17/multiedge_inference_bench/pedestrian_tracking in the following files:

Configs

  • tracking_job.yaml
  • reid_job.yaml

Algorithms

  • m3l_algorithm.yaml
  • byte_track_algorithm.yaml

Test Environments

  • testenv/reid/testenv.yaml
  • testenv/tracking/testenv.yaml

Python Scripts

  • generate_reports.py (fixed hardcoded output directory path)
  • testenv/reid/cmc.py (fixed hardcoded output directory path)

Docs

  • README.md (updated example path in the report generation documentation)

Testing done

  • Conducted a code audit and static verification to ensure all pedestrian_tracking references relating to the old root path were replaced.
  • Verified that all paths now point to existing files in the current repository structure.
  • Confirmed that benchmark jobs for both tracking and ReID now resolve configs and scripts without FileNotFoundError when executed from the root directory.

##Fixes: #391

@kubeedge-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ARYANPATEL-BIT
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 12, 2026
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 updates various file paths and URLs across the pedestrian tracking example to align with a reorganized directory structure under examples/MOT17. The feedback suggests replacing hardcoded paths from the repository root with paths relative to the script's location in generate_reports.py and cmc.py to make the scripts more robust and independent of the execution directory.

…nd code

Signed-off-by: Aryan Patel <aryan.patel7291@gmail.com>
@ARYANPATEL-BIT ARYANPATEL-BIT force-pushed the fix/update-pedestrian-tracking-paths-to-mot17 branch from a2f35a4 to 3cf3b8c Compare April 12, 2026 16:11
@ARYANPATEL-BIT
Copy link
Copy Markdown
Author

/assign @MooreZheng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MOT17 example fails to run due to broken "pedestrian_tracking" path references

3 participants