-
Notifications
You must be signed in to change notification settings - Fork 116
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
Bad mIOU tested with provided model #41
Comments
I use the model downloaded from here |
I am facing the same issue. The number I got is 0.04647076057203757. Using the provided .pth file without any code modification. |
@suhangpro hi, the problem is that opencv cannot read image in mode 'p' correctly. Reading gt image with PIL.Image will solve the problem. |
Thanks, @h982639009 ! After that change, I got: |
@suhangpro, hi, may I ask how do you get the mean iou of 0.7645? Through evalpyt.py or evalpyt2.py? Becausce I got 0.7802 through evalpyt2.py and 0.7180 through evalpyt.py. |
I did the fix @h982639009 mentioned, and made no other changes. |
@suhangpro , do you know how to convert the gt and the output images to color images? |
@h982639009 , may I ask what mode 'p' means? How can i can convert images of mode 'p' to RGB images? |
Hello! I follow the Readme to test the mIOU with given pretrained caffe model on VOC. However, I get unexpected Mean iou = 0.046470389101241724.
Do you have any suggestions about this problem?
By the way, why the image is only substracted by the mean value of each channel without normlization to range such as [0,1] or [-1,1] in the code?
The text was updated successfully, but these errors were encountered: