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
getting an error #19
Comments
You have configured your model to have 1 class as output but your ground truth has 3 channels which are considered as 3 classes. Please use classes parameter to set the correct number of classes. Or maybe your ground truth has only one class but your ground truth is in RGB. In that case, you need to change it to grayscale. Hope it helps! |
Thank you for your prompt reply; |
I am having the same issue. My images are (256,256,1) grayscale and I am only predicting foreground vs background. Here is my error: Do we have to update these flags?
|
after running the training model.fit ... I'v got this error :
ValueError: Error when checking target: expected sigmoid to have shape (None, None, 1) but got array with shape (256, 256, 3)
The text was updated successfully, but these errors were encountered: