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

Problems with incomplete annotation of datasets #2

Closed
kangben258 opened this issue Apr 2, 2023 · 4 comments
Closed

Problems with incomplete annotation of datasets #2

kangben258 opened this issue Apr 2, 2023 · 4 comments

Comments

@kangben258
Copy link

The following problem occurred when I tested my tracker
’‘’
FileNotFoundError: /TREK-150-toolkit/TREK-150/P03-P03_02-56/anchors_hoi.txt not found.
‘’‘
I check the annotation of the dataset is indeed missing this .txt file, and p03-p03_04-57 is also missing anchors_hoi.txt, maybe the annotation of other video sequences will also have this problem, I hope you can answer for me

@kangben258
Copy link
Author

And also there is a mistake that in line19 of 'toolkit/experiments/trek150.py' you have import 'compress_file' from 'toolkit/utils/ioutils.py' , but in 'toolkit/utils/ioutils.py' there has no 'compress_file' function, I think you should change the 'compress' function to 'compress_file' function. If my thoughts are not correct I hope you can point out my mistakes

@kangben258 kangben258 reopened this Apr 2, 2023
@kangben258
Copy link
Author

It seems that you have not defined 'direction' in 'run_hoi' function in 'toolkit/experments/trek150.py'

@matteo-dunnhofer
Copy link
Owner

Hi @kangben258, thanks for pointing out the issues!

The following problem occurred when I tested my tracker ’‘’ FileNotFoundError: /TREK-150-toolkit/TREK-150/P03-P03_02-56/anchors_hoi.txt not found. ‘’‘ I check the annotation of the dataset is indeed missing this .txt file, and p03-p03_04-57 is also missing anchors_hoi.txt, maybe the annotation of other video sequences will also have this problem, I hope you can answer for me

10 out of the 150 sequences do not contain interactions between the hands and the object, so there are no such annotation files in the sequence folder. I edited the code to check for the presence of the hand-object annotation files before executing the tracker.

And also there is a mistake that in line19 of 'toolkit/experiments/trek150.py' you have import 'compress_file' from 'toolkit/utils/ioutils.py' , but in 'toolkit/utils/ioutils.py' there has no 'compress_file' function, I think you should change the 'compress' function to 'compress_file' function. If my thoughts are not correct I hope you can point out my mistakes

Thanks. I corrected the misspelling.

It seems that you have not defined 'direction' in 'run_hoi' function in 'toolkit/experments/trek150.py'

The HOI protocol runs the tracker just in a single direction, forward in time.

@matteo-dunnhofer
Copy link
Owner

It seems that you have not defined 'direction' in 'run_hoi' function in 'toolkit/experments/trek150.py'

The issue was fixed.

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