Is there a problem here ?
monk42 opened this issue · 3 comments
monk42 commented
Line 209 in 6c70184
The value of best_val always be 0 , which means that model_best.pth stores not the best, but the last eopch!
sacmehta commented
It’s an error from my end. While cleaning the code, I accidentally removed one line. You can add below line before the line pointed by you. I will also fix it
best_val = max(mIOU_val, best_val)
monk42 commented
Thanks,
sacmehta commented
This issue is fixed, so closing