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

How to get MOT metrics on custom test set? #131

Open
MKiremitci opened this issue Dec 13, 2020 · 15 comments
Open

How to get MOT metrics on custom test set? #131

MKiremitci opened this issue Dec 13, 2020 · 15 comments

Comments

@MKiremitci
Copy link

Hi everyone and @cheind,

Thank you for this great jobs. I am newbie and I trained an object detector to detect people from top-view. Now, I want to deal with Multiple Object Tracking, but I don't know how can I get the MOT results. I think lots of people are using the MOT Challange's datasets to evaluate their Multiple Object tracking methods. However, when I look to MOT Challanges, there is no top-view people datasets to evaluate my method. Also, I have already gather top-view human videos to use with tracking.

Therefore, I want to know how should I prepare the test set? How should I annotate? Should test set contain images or videos?

If you answer these questions with basic language to me, I will be too happy. Thanks for your help.

@khalidw
Copy link
Contributor

khalidw commented Jan 31, 2021

@MKiremitci Hi! I am also working on a similar problem. I have a custom made dataset of boats for which I am trying to calculate MOT metrics using two different tracking algorithm.

I have annotated the dataset myself, as I understand for custom dataset you need to manually create a ground truth file as per MOT16 or equivalent format.

I am generating a text file of all the tracks in MOT16 format for each tracker.

Once I have both ground truth and tracker files, I use them to generate the metric. I hope this is helpful to you

@cheind
Copy link
Owner

cheind commented Jan 31, 2021

Hey, @MKiremitci you might want to look at the documentation of

https://github.com/cheind/py-motmetrics/blob/develop/motmetrics/apps/eval_motchallenge.py

which gives you an idea of how to structure files so that you can use the script for evaluation.

@MKiremitci
Copy link
Author

@khalidw and @cheind Thanks for your answers. :)

@ImSuMyatNoe
Copy link

ImSuMyatNoe commented Mar 14, 2022

@MKiremitci Hi! I am also working on a similar problem. I have a custom made dataset of boats for which I am trying to calculate MOT metrics using two different tracking algorithm.

I have annotated the dataset myself, as I understand for custom dataset you need to manually create a ground truth file as per MOT16 or equivalent format.

I am generating a text file of all the tracks in MOT16 format for each tracker.

Once I have both ground truth and tracker files, I use them to generate the metric. I hope this is helpful to you

@khalidw
Hello! I would like to know how to measure with MOT metric on custom dataset! If you have finished the project, could you please let me know how to measure it?

@khalidw
Copy link
Contributor

khalidw commented Mar 19, 2022

@ImSuMyatNoe of course. I can share sample code if you can connect on my email address.

@ImSuMyatNoe
Copy link

ImSuMyatNoe commented Apr 8, 2022 via email

@khalidw
Copy link
Contributor

khalidw commented May 22, 2022

@ImSuMyatNoe Please see your gmail inbox. I have forwarded you the ipynb notebook. If you have any queries do let me know over email

@myuvarajmp
Copy link

@khalidw could you please share the notebook to me as well. mail id:m.yuvarajmp@gmail.com

@cheind
Copy link
Owner

cheind commented Aug 18, 2022

@khalidw if that notebook is of potential interest to many people, would you mind making it publicly available? I'd be happy to put a link to it online

@khalidw
Copy link
Contributor

khalidw commented Aug 18, 2022

@cheind Yes I would. Will share in a short while

@cheind
Copy link
Owner

cheind commented Aug 20, 2022

@khalidw, nice, maybe add PR of readme.md as well? (make sure to base it on develop)

@myuvarajmp
Copy link

@khalidw Please share the notebook asap. sorry for the inconvenience.

@cheind
Copy link
Owner

cheind commented Aug 24, 2022

@myuvarajmp, I've seen @khalidw has already forked the project and is probably already working on a solution. Please be patient.

@khalidw
Copy link
Contributor

khalidw commented Aug 24, 2022

@cheind Hi. I have committed a section titled "For custom dataset" on the readme.md. This section has the code and guide on how to use pymotmetrics for custom dataset. Please review and let me know if any changes are required

@cheind
Copy link
Owner

cheind commented Aug 24, 2022

@myuvarajmp , @everyone would you mind following @khalidw docs on how to use it on custom datasets and check if you run into any problems? Please see #167 for the PR and report there if possible. thanks

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

No branches or pull requests

5 participants