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

Getting error while using the code for evaluting my own groundtruth and tracking results #113

Open
pordeli opened this issue Aug 3, 2020 · 2 comments

Comments

@pordeli
Copy link

pordeli commented Aug 3, 2020

Hi I am using the below code but getting an error.Why?

(motmetrics-env) D:\py-motmetrics-develop>python -m motmetrics.apps.eval_motchallenge groundtruths D:\SEQUENCE_1\gt\gt.txt tests D:\SEQUENCE_1\test\test.txt

usage: eval_motchallenge.py [-h] [--loglevel LOGLEVEL] [--fmt FMT]
[--solver SOLVER] [--id_solver ID_SOLVER]
[--exclude_id]
groundtruths tests

eval_motchallenge.py: error: unrecognized arguments: tests D:\SEQUENCE_1\test\test.txt

@cheind
Copy link
Owner

cheind commented Aug 4, 2020

Your file structure should match

---------
Layout for ground truth data
    <GT_ROOT>/<SEQUENCE_1>/gt/gt.txt
    <GT_ROOT>/<SEQUENCE_2>/gt/gt.txt
    ...
Layout for test data
    <TEST_ROOT>/<SEQUENCE_1>.txt
    <TEST_ROOT>/<SEQUENCE_2>.txt
    ...
Sequences of ground truth and test will be matched according to the `<SEQUENCE_X>`
string

Then run

python -m motmetrics.apps.eval_motchallenge <GT_ROOT> <TEST_ROOT> where you replace <...> with actual paths.

@pordeli
Copy link
Author

pordeli commented Aug 10, 2020

Thanks for your reply. Should I have a SEQUENCE folder? I have just 1 tracking output text file and 1 gt text file. So there is just 1 sequence. My command is like below:
python -m motmetrics.apps.eval_motchallenge D:/SEQUENCE_1/gt/gt.txt D:/SEQUENCE_1/test
02:12:11 INFO - Found 0 groundtruths and 1 test files.

Can you please tell me about the sequence? How should be the path for those files?

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

2 participants