Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Small holes in the masks #2

Open
JianpingCAI opened this issue Jan 28, 2019 · 2 comments
Open

Small holes in the masks #2

JianpingCAI opened this issue Jan 28, 2019 · 2 comments

Comments

@JianpingCAI
Copy link

Hi,

When I try on some images, there are small holes in some results, may I know how to reduce/remove these holes? is it a correct behavior?

Thanks,
Jianping

@lzhuwen
Copy link
Contributor

lzhuwen commented Jan 28, 2019

Hi Jianping,

Thanks for your interests. One direct solution is to add more clicks if the holes are not very small; the other solution is to apply dilation and erosion to remove the very small holes. The pre-trained model is trained on the SBD dataset, you may also want to retrain it with your specific data.

Best,

Zhuwen

@JianpingCAI
Copy link
Author

Hi Zhuwen,

Thanks a lot for your reply, and for updating the train code.
So the small holes issue is expected, right?

Sincerely,
Jianping

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants