-
Notifications
You must be signed in to change notification settings - Fork 258
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
metrics output giving all zeros / nans #8
Comments
Note the usage in
So you should pass only the parent directory containing ground-truths and tests files. Best, |
I have the same problem. I run Here are some sample lines from one file (used as gt and tracker): Any ideas? |
The original issue was that no files were found. Did you also see a line like the following in the logs?
The issue in your case could be the back-/forward-slash issue between windows and unix. Perhaps we should change this line:
to something like glob.glob(os.path.join(args.groundtruths, '*', 'gt', 'gt.txt'))
|
The output is:
I also uploaded the input where I replaced the GT with the Tracker. So it sould be all 100%. |
Looking at your gt data, it seems like the confidence column is set to -1 (see https://motchallenge.net/instructions/). The
This would result in your ground-truth being empty, which could explain the zeros and nans. Did you generate this ground-truth yourself? If so, change the confidence from -1 to 1 for the ground-truth boxes. Otherwise, perhaps we need to make an exception that allows values of In any case, it seems unrelated to the original issue, which has already been closed. Can you please open a new issue if you need to respond? Thanks! |
Hi
I am trying to run
motmetrics
in conda environment using the instructions provided but I am getting the following error while running the example data provided in the folder.$ python -m motmetrics.apps.eval_motchallenge motmetrics/data/TUD-Campus/gt.txt motmetrics/data/TUD-Campus/test.txt
Then, I tried to run pytest and got the following error. Any idea what might be wrong?
The text was updated successfully, but these errors were encountered: