When I was evaluating the model, both f1 score and jaccard score, for some reason, was decreasing as the model finishes more epochs. (Which is quite insane.)
I’ve been checking the dimensions of the variables I was using to calculate the scores, but there seems to be nothing wrong. After using more than 1 day, I’ve finally found out the cause…
Some of the images inside the input image directory was mixed up with the annotation images..
Lesson of the day: Check your data, please.