Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracker file not found: mot//MOT17-02-FRCNN.txt #1100

Closed
1 task done
uopop opened this issue Sep 3, 2023 · 11 comments
Closed
1 task done

Tracker file not found: mot//MOT17-02-FRCNN.txt #1100

uopop opened this issue Sep 3, 2023 · 11 comments
Labels
question Further information is requested Stale

Comments

@uopop
Copy link

uopop commented Sep 3, 2023

Search before asking

  • I have searched the Yolo Tracking issues and found no similar bug report.

Question

I ran the instructions in the readme file:
python3 examples/val.py --yolo-model yolox_s.pt --reid-model osnet_ain_x1_0_msmt17.pt --tracking-method ocsort --benchmark MOT17
The following error occurred:
2023-09-03 16:02:14.655 | SUCCESS | main:eval:220 - Evaluation succeeded
val: yolo_model=yolox_s.pt, reid_model=/root/autodl-tmp/yolo_tracking/examples/weights/osnet_x0_25_msmt17.pt, tracking_method=ocsort, name=exp, classes=['0'], project=/root/autodl-tmp/yolo_tracking/runs/val, exist_ok=False, gsi=False, benchmark=MOT17-mini, split=train, eval_existing=False, conf=0.45, imgsz=[1280], device=[''], save=False, processes_per_device=2
2023-09-03 16:02:14.967 | ERROR | main:eval:255 - Traceback (most recent call last):
File "/root/autodl-tmp/yolo_tracking/examples/val_utils/scripts/run_mot_challenge.py", line 84, in
dataset_list = [trackeval.datasets.MotChallenge2DBox(dataset_config)]
File "/root/autodl-tmp/yolo_tracking/examples/val_utils/trackeval/datasets/mot_challenge_2d_box.py", line 124, in init
raise TrackEvalException(
trackeval.utils.TrackEvalException: Tracker file not found: mot//MOT17-02-FRCNN.txt
I feel like it's a path issue, but I don't know how to solve it. I hope to receive help. Thank you very much!

@uopop uopop added the question Further information is requested label Sep 3, 2023
@mikel-brostrom
Copy link
Owner

Post the whole output please. The tracking threads are crashing way before this:

File "/root/autodl-tmp/yolo_tracking/examples/val_utils/trackeval/datasets/mot_challenge_2d_box.py", line 124, in init
raise TrackEvalException(
trackeval.utils.TrackEvalException: Tracker file not found: mot//MOT17-02-FRCNN.txt
I feel like it's a path issue, but I don't know how to solve it. I hope to receive help. Thank you very much!

@Gloria949
Copy link

Hello, I have also encountered a similar issue. The terminal has already output "Evaluation succeeded", but after that, an error message will be reported that the file cannot be found. My terminal information is as follows:

2023-09-08 18:17:48.325 | SUCCESS | __main__:eval:230 - Evaluation succeeded val: yolo_model=/home/extend/zhy/code/yolo_tracking-masterold/runs/train/exp28/weights/yolov8fema.pt, reid_model=pretrained/lmbn_n_market.pth, tracking_method=ocsort, name=exp, classes=['0'], project=/home/extend/zhy/code/yolo_tracking-masterold/examples/runs/val, exist_ok=False, gsi=False, benchmark=MOT17, split=train, eval_existing=False, conf=0.45, imgsz=[1280], device=[0, 1, 0, 1, 0, 1], processes_per_device=2 2023-09-08 18:17:48.683 | ERROR | __main__:eval:267 - Traceback (most recent call last): File "/home/extend/zhy/code/yolo_tracking-masterold/examples/val_utils/scripts/run_mot_challenge.py", line 84, in <module> dataset_list = [trackeval.datasets.MotChallenge2DBox(dataset_config)] File "/home/extend/zhy/code/yolo_tracking-masterold/examples/val_utils/trackeval/datasets/mot_challenge_2d_box.py", line 124, in __init__ raise TrackEvalException( trackeval.utils.TrackEvalException: Tracker file not found: labels//MOT17-02-SDP.txt

When I rerun the command, this issue still occurs. It appears that the program did not successfully write to the MOT.txt file, and the corresponding label folder cannot be found in the corresponding directory. There are only some dataset images that appear to have not been successfully detected.
Therefore, I speculate that there was a problem with the detector model that resulted in the failure to successfully detect the target and execute the write file code.

@mikel-brostrom
Copy link
Owner

Again. Please, provide the COMPLETE output. I cannot help you without it

@github-actions
Copy link

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

@vankhoa21991
Copy link

You should remove --save from the config if you have one.

@fangfang0304
Copy link

Search before asking

  • I have searched the Yolo Tracking issues and found no similar bug report.

Question

I ran the instructions in the readme file: python3 examples/val.py --yolo-model yolox_s.pt --reid-model osnet_ain_x1_0_msmt17.pt --tracking-method ocsort --benchmark MOT17 The following error occurred: 2023-09-03 16:02:14.655 | SUCCESS | main:eval:220 - Evaluation succeeded val: yolo_model=yolox_s.pt, reid_model=/root/autodl-tmp/yolo_tracking/examples/weights/osnet_x0_25_msmt17.pt, tracking_method=ocsort, name=exp, classes=['0'], project=/root/autodl-tmp/yolo_tracking/runs/val, exist_ok=False, gsi=False, benchmark=MOT17-mini, split=train, eval_existing=False, conf=0.45, imgsz=[1280], device=[''], save=False, processes_per_device=2 2023-09-03 16:02:14.967 | ERROR | main:eval:255 - Traceback (most recent call last): File "/root/autodl-tmp/yolo_tracking/examples/val_utils/scripts/run_mot_challenge.py", line 84, in dataset_list = [trackeval.datasets.MotChallenge2DBox(dataset_config)] File "/root/autodl-tmp/yolo_tracking/examples/val_utils/trackeval/datasets/mot_challenge_2d_box.py", line 124, in init raise TrackEvalException( trackeval.utils.TrackEvalException: Tracker file not found: mot//MOT17-02-FRCNN.txt I feel like it's a path issue, but I don't know how to solve it. I hope to receive help. Thank you very much!

hi, I have also encountered a similar issue.did u solve this problem? @uopop

@mikel-brostrom
Copy link
Owner

@fangfang0304
Copy link

@mikel-brostrom
Copy link
Owner

Please provide the FULL output of the run

@fangfang0304
Copy link

Please provide the FULL output of the run

val: yolo_model=D:/yolov8_tracking-master/examples/weights/try.pt, reid_model=D:/yolov8_tracking-master/examples/weights/osnet_x0_25_msmt17.pt, tracking_method=deepocsort, name=exp, classes=['0'], project=D:\yolov8_tracking-master\examples\runs\val, exist_ok=False, benchmark=MOT17-mini, split=train, eval_existing=False, conf=0.45, imgsz=[1280], device=[''], processes_per_device=2
2024-01-17 21:54:06.772 | ERROR | main:eval:260 - Traceback (most recent call last):
File "D:\yolov8_tracking-master\examples\val_utils\scripts\run_mot_challenge.py", line 84, in
dataset_list = [trackeval.datasets.MotChallenge2DBox(dataset_config)]
File "D:\yolov8_tracking-master\examples\val_utils\trackeval\datasets\mot_challenge_2d_box.py", line 124, in init
raise TrackEvalException(
trackeval.utils.TrackEvalException: Tracker file not found: labels//MOT17-05-FRCNN.txt

thank you!

@mikel-brostrom
Copy link
Owner

Probably something failed when generating the predictions txts for MOT evaluation. You have just not noticed that it failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

5 participants