segmentation_models icon indicating copy to clipboard operation
segmentation_models copied to clipboard

Good IOU Score on training data, but bad segmentation on testing data.

Open ranjan2601 opened this issue 1 year ago • 2 comments

I have used inceptionv3 as my backbone and trained it on 20 epochs, got mean iou score of 0.90. However, when i try to predict on test data, the results are like this:

download

My dataset contains images about tomato disease(10 classes). The Gt mask tells which part on leaf is healthy and which part is diseased, whereas Pr mask is just making the shape of the leaf. Thanks

ranjan2601 avatar Jun 19 '23 07:06 ranjan2601

Hello @ranjan2601,

Could you share how you organized your class Dataset and built your model?

It will be easier to come up with a strategy for your problem.

nataliameira avatar Aug 03 '23 14:08 nataliameira

Hi @ranjan2601,

Please share your training notebook/scripts.

Your input image and its corresponding ground_truth mask do not match. Also, there might be some other issue in the training too. Then, we can provide better solution for you problem statement!!:)

tshr-d-dragon avatar Sep 21 '23 10:09 tshr-d-dragon