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

about the evaluation of davis2016 #30

Closed
zhouweii234 opened this issue Jul 29, 2021 · 6 comments
Closed

about the evaluation of davis2016 #30

zhouweii234 opened this issue Jul 29, 2021 · 6 comments

Comments

@zhouweii234
Copy link

I want to evaluate davis2016 with this code https://github.com/davisvideochallenge/davis. But when I want to run eval_view.py to see the result in HDF5 file generated by eval.py, the program can't find the file db_benchmark.yml. This file db_benchmark.yml is neither in the davis2016 dataset nor generated from the program eval.py. Do you know where can I find the program db_benchmark.yml?

Or could you kindly tell me how do you evaluate davis2016? Which code or website do you use?

@hkchengrex
Copy link
Owner

@zhouweii234
Copy link
Author

@hkchengrex
There seems to be something wrong with this modification https://github.com/davisvideochallenge/davis2017-evaluation/issues/4 . It reports In your PNG files there is an index higher than the number of objects in the sequence!.
The modification change the way of loading gt masks (i.e. directly add a dimension to the mask as num_objects , as shown below.)
image

However, the way of loading result masks didn't change (in results.py def read_masks() ,as shown below), so num_objects is different from that of gt masks.
image

May I ask you how you solved this problem?

@hkchengrex
Copy link
Owner

Reading back my code I have modified the previous line to be masks[ii, ...] = (self._read_mask(sequence, m)>128).astype(np.uint8) as well.

@zhouweii234
Copy link
Author

@hkchengrex
My evaluation results are all 0 because gt_masks are all become to 0 after the steps in the red box
1627960153(1)

May I ask how do you modified the get_all_masks() in davis.py?

@hkchengrex
Copy link
Owner

I'll just share my code here: https://github.com/hkchengrex/davis2016-evaluation
It is not official.

@frank-xwang
Copy link

frank-xwang commented Mar 30, 2022

@zhouweii234 Hi, I am facing the same issue. All GT masks became 0 after executing the codes in the red box. Have you addressed this issue?

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

3 participants