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

Model Not Predicting Mask Properly #5

Open
vprahalad opened this issue Jan 10, 2022 · 1 comment
Open

Model Not Predicting Mask Properly #5

vprahalad opened this issue Jan 10, 2022 · 1 comment

Comments

@vprahalad
Copy link

Hi, when I am following this tutorial on my own dataset, the training predictions are not properly predicting a mask. What could be the root of this problem? Thanks!

problem

@ianhi
Copy link
Owner

ianhi commented Jan 10, 2022

Hi @vprahalad from looking at your "True mask" it seems you are using a continuous variable for your mask. For this model we used categorical variables - e.g. 0 for background, 1 for mother, 2 for daughter. If your problem allows for it then I recommend changing the true mask to be values of just 0 or 1. You can achieve this by thresholding the image.

If that doesn't work for your problem you may need to adjust the neural net architecture, however the augmentation pipeline and other utilities may still be of help to 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