Open kashyappiyush1998 opened 1 year ago
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
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 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?