-
Notifications
You must be signed in to change notification settings - Fork 10
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
change spacing cause ground truth mask information loss? #21
Comments
Dear Yuling Luo, This is indeed strange, can you share the notebook code and the output plots, maybe it gives me an insight what goes wrong? Best wishes, |
Hi Mart, Please see my config
And the plot inference function:
Unfortunately I can't share the plot as it contains sensitive data, sorry about that : ( |
Dear Yuling Luo, I see i understand you can not share the data. However would it be possible to share privately with me a single annotation file without the image file and your custom parser. Then I can do some experimentation with the mask generation and see what goes wrong. Best wishes, |
I been experimenting different spacing and find something interesting when i tried to plot the ground truth against the input image.
I have three class of masks: background, A, B. B is always within region A.
I modified the 'plot inference' function in the notebook and tried to visualise the ground truth against the image since in my case the annotation overlap with each other. And called it with
fig = plot_inference(x_batch[0][0],y_patch[0][0],x_batch[1][0],y_patch[0][1], x_batch[2][0], y_patch[0][2])
I firstly tested it with spacing [0.5, 2, 8], it shows A region with pink colour, and also shows background as black. But it omit the B region completely.
Then I tested it with spacing [1,4,16], I received a user warning saying that spacing 16 outside margin. However, using this spacing, I can see black, red, pink, which align well with background, A, and B.
Did I miss something in here? What might cause this issue?
Thank you!
The text was updated successfully, but these errors were encountered: