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
Incorrect predictions #65
Comments
in above line change the steps_per_epoch to 300 or 400 or 500 some thing should work |
In case you or anyone else is still having issues with this, in the testGenerator function change this line |
@ajithvallabai that was it. Training longer helped. |
I modified img.255, but problems persisted. |
I set steps_per_epoch=500, but my test images are still all gray... |
i think epochs should be increased rather than steps_per_epoch to improve the acc . Another place to check is the function of adjustData. |
get it |
@JianyingLi Hello, def dice_coef_loss(y_true, y_pred): model.compile(optimizer = Adam(lr = 1e-5), loss = dice_coef_loss, metrics = ['accuracy']) |
After training the model (for a short time) I see an accuracy of 80%. However, when I test it, the result is as shown for all test images. Can someone help with this? Would be great if someone could share the pre-trained weights.
The text was updated successfully, but these errors were encountered: