Closed tanveer6715 closed 1 year ago
The evaluation configuration is not exactly the same across these settings:
eval.sh
, the validation samples are simply resized.However, it is a little bit strange that the mIoU decreases when using sliding window evaluation. We did not observe this using VOC or Cityscapes.
Thanks for your response. For fair evaluation is it possible to process whole image without resizing in eval.sh?
It is relatively hard. A common practice is to first resize the image into a fixed resolution (e.g., 513x513), and then resize the segmentation map to the original size.
okay. Then as you said in other issues that you did not use eval.sh for pascal dataset. You have reported the mIoU during training evaluation in the paper. It means that mIoU of pascal was obtained by center cropping evaluation after each epoch during training the model right?
Yes, this is because some previous works do so (e.g., AEL).
Ok thank you. sorry to bother you again. Can you tell me in cityscapes dataset which was best mIoU you have obtained during experiments.
The second one is the best. And usually, the second one performs ~3% mIoU than the others.
Okay thank you. As stated in my case its opposite. It may be depend on the dataset nature as I obtained best mIoU by training evaluation center cropping. My datasets have cracks and background classes which is highly unbalanced by classwise.
Yes, I guess it should be the discrepancies between different datasets.
Thank you for your responses. I am closing this issue now :)
Please do not hesitate to let me know if you have further questions :)
Please do not hesitate to let me know if you have further questions :)
Yes sure I will. Thank you again :)
I have trained U2PL for my custom dataset which have only 2 classes. However when I evaluate the model performance using eval.sh by using the best and latest saved checkpoints, the model always shows 2% or 3% less mIoU as it showed in the training evaluation. I evaluate the model using both technique sliding window as well as simple. However when using sliding window evaluation it mIoU further decreases. Will you guide me what could be the possible reason?