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

Order matrix not correct even after adjusting 'th' and 'dilate_kernel' #32

Closed
jiunyen-ching opened this issue Feb 28, 2021 · 3 comments
Closed

Comments

@jiunyen-ching
Copy link

Hi, I was testing out the demo codes on this RGB image
image

and its instance mask
image

I slowly increased the 'th' and 'dilate_kernel' from (0.1, 5), (0.3, 7), (0.5, 9), (0.7, 11) respectively as advised in #14 but the order matrix is still not correct.

image

From the order matrix, Instance 3 (table) is not considered as an occluder to Instance 5 (bench). May I ask for some advice as to how to improve the situation?

@XiaohangZhan
Copy link
Owner

Why are there margins between objects in the segmentation map? These may severely affect the results. Dilation process can mitigate it but not thoroughly . You might have to deal with the margins before testing it.

@jiunyen-ching
Copy link
Author

Unfortunately the margins are due to the NYU annotations. I will dilate the masks and try to infer their order again. Will update here if it works

@jiunyen-ching
Copy link
Author

The masks not tightly fitting each other is indeed quite troublesome to handle. Only certain cases where the masks are tightly fitting, it works well.

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