-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a problem with the mmsegmentation Miou calculation? #788
Comments
img_scale_test = (1280, 1280)img_scale_test = (3384, 2710) |
Hi, why |
I have a similar mistake with you. Have you solved it? |
Hi, @PangXuejiao and @daigang896 : Can you check the image for mIoU calculation is Best, |
Related issue: #794 Please also check whether the background is also been counted for calculation, which can really "improve" results. Best, |
(3384, 2710) is the size of the original image. |
It is normal that different image sizes makes metric different, and we usually use metric of original image size. |
I see. Now I use the original size to measure. |
hi, can you explain in detail the meaning of different test modes(whole, slides, ms, ss, msf)? Thanks! |
Hi, @wwjwy
In short, basical result is
best, |
THANKS |
Try to change batch size will change GPU memory. But I do not test the CPU memory, could you give me more details about CPU memory? |
Hello. During the training, the memory increased seriously during the full image verification Miou, and only 500 images cost more than 50 g of memory |
Hi, I think it is caused by old version of MMSegmentation, please check this related PR: #709 In the old version, each test image sample would keep many useless things in memory such as its prediction mask, you can upgrade your MMSeg and check out whether it could be fixed. Best, |
Thanks. I'll update MMSeg and try again. |
Hello. Train my own dataset and use the same 500 images and labels as the verification set. After training, the val Miou (self written calculation) is quite different from the Miou evaluated during training. The Miou evaluated during training is 5.94% higher. I don't know what's going on?Is there a problem with the mmsegmentation Miou calculation?
The text was updated successfully, but these errors were encountered: