-
Notifications
You must be signed in to change notification settings - Fork 267
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
GT_Encoder f1_score always 0 #53
Comments
I believe there is a correction to be made: pre,rec,f1,mae = f1_mae_torch(pred_val*255, gt, valid_dataset, i_test, mybins, hypar) should be pre,rec,f1,mae = f1_mae_torch(pred_val* 255, gt* 255, valid_dataset, i_test, mybins, hypar) |
I have the same issue. F1 is 0 always. |
Multiplying gt by 255 solved it for me |
The code has been updated, please try to use that to see whether the error still happens? |
I tried overfitting on fewer images [24] to see if issue is real, f1 error array and hence np.amax(f1) both are coming out to be 0. Any solutions?
The text was updated successfully, but these errors were encountered: