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

the binary mask #26

Open
HornGate opened this issue Feb 21, 2019 · 6 comments
Open

the binary mask #26

HornGate opened this issue Feb 21, 2019 · 6 comments

Comments

@HornGate
Copy link

Hello, I have a question: how to predict areas of an image (binary mask) where different objects touch or very close to each other?

@Optimox
Copy link

Optimox commented Aug 28, 2020

Hello @ternaus ,

Thank you very much for sharing your solution, very clean work.

I have a similar question so I'm posting here. I hope you won't be too busy with Lyft's Kaggle competition!

I see that the network outputs two values per pixel, one for semantic segmentation (the binary mask) and one for the instance borders. But does this mean that you need to have explicit labels for both of them? Or did you use some preprocessing technique in order to create borders from binary masks? (by looking at the challenge website it seems that you only had binary masks but I may have misread something)

Bests!

@ternaus
Copy link
Owner

ternaus commented Aug 28, 2020

For the data, we have instance-level masks.

During the processing step I convert them into binary masks and regions where different buildings touch each other.

Later I use both of them as a target for training.

@viethungluu
Copy link

hi @ternaus, can you share the code to calculate the touching mask from binary building mask? Thanks in advance!

@ktncktnc
Copy link

hi @ternaus, can you share the code to calculate the touching mask from binary building mask? Thanks in advance!

Hi sir, I wonder that have you gotten the code. If not, I can share with you.

@JeanMartens
Copy link

Hello @ktncktnc,

I you happen to have the code still, do you mind sharing it here or privately ?
It would still be relevant to me.
Thanks in advance.

@ktncktnc
Copy link

Hello @ktncktnc,

I you happen to have the code still, do you mind sharing it here or privately ? It would still be relevant to me. Thanks in advance.

Hi @JeanMartens,
I don't really remember exactly what I asked before. But I think maybe these lines of code can help: https://github.com/ktncktnc/ResUnet/blob/master/dataset/utils.py#L38 . Please check it out and see if it works.

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

6 participants