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

Why is my MOTA negative? #938

Closed
1 task done
lynxhawk opened this issue Jun 12, 2023 · 7 comments
Closed
1 task done

Why is my MOTA negative? #938

lynxhawk opened this issue Jun 12, 2023 · 7 comments
Labels
question Further information is requested

Comments

@lynxhawk
Copy link

Search before asking

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

Question

I run val.py on my own custom dataset, then I found MOTA is negative.
Below is my gt.txt and evaluation results.
image
gt.txt

@lynxhawk lynxhawk added the question Further information is requested label Jun 12, 2023
@mikel-brostrom
Copy link
Owner

mikel-brostrom commented Jun 12, 2023

There can be many reasons: GT not following the expected format, bad detector, kalman filter over/under-shooting...

@lynxhawk
Copy link
Author

image
Would you like to help me see if my gt.txt is correct? I compared it with the format of the mot17 dataset. I didn't find the error. I also uploaded gt.txt above.

@lynxhawk
Copy link
Author

image
I validated the detector I trained, map is not good, but does it result in a negative MOTA?

@mikel-brostrom
Copy link
Owner

Negative MOTA does not necessarily indicate a problem with the evaluation. MOTA is negative when FN + FP > GT (described in the HOTA paper https://arxiv.org/abs/2009.07736; "MOTA scores can be negative and are unbounded.").

@lynxhawk
Copy link
Author

Thank you very much for your answer. I think my custom model for salmon is too bad, and I'm trying to improve it. It's hard because I can not use pretrained weights or re-ID model.

@lynxhawk
Copy link
Author

By the way, I have a question about how to validate an existing result. When I put track.py's result to validate, it works. When I put my validation set's gt.txt to validate, i think it will show 100, but it showed 0.
image

@mikel-brostrom
Copy link
Owner

Never tried to input GT as predicted data as well. Will get back at you when I try this out 😄

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

No branches or pull requests

2 participants