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 dilation #6

Open
leon0n opened this issue Sep 23, 2019 · 2 comments
Open

About the dilation #6

leon0n opened this issue Sep 23, 2019 · 2 comments

Comments

@leon0n
Copy link

leon0n commented Sep 23, 2019

hallo guys, thanks for your sharing. But I do have some questions
About the dilation operation, in your paper, you show the result the best result with dilation = 5, but I can't find any dilation operation in this project. Also I tried by myself, once I dilated the label mask image, the pixel value of defect which should be in range(0,1) would be changed to (0, <1 like 0.69), so should I do the binarization to the dilated label mask? or not ?

hope to get your response

@skokec
Copy link
Owner

skokec commented Sep 24, 2019

Hi, the prepared dataset file for TensorFlow already has dilation=5 included. To get other dilations, you can download the original png images from here and then use this script to generate the TensorFlow dataset with the desired dilations.

Search for the _process_dataset() function for the entry point which takes dilation parameter. This function will also do the binarization of label when require_binary_output = True, which we did use in our case.

Best, Domen.

@leon0n
Copy link
Author

leon0n commented Sep 26, 2019

Thanks for your response!
I have got a better result on the Dataset .
Thank you

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