-
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
decode.acc_seg and aux.acc_seg are high but mIoU is very low #794
Comments
Hi, @PangXuejiao I guess it is because the For example, see this config and its log: This phenomenon is same as your claim because the foreground pixels (i.e., vessel of medical image) is way too less than background. Best, |
Thank you for your timely reply. However, I used "fcn_unet_s5-d16_128x128_40k_chase_db1.py" to train my dataset. My dataset contains three categories, no background category, and the proportion of the three categories is similar. And how does the code know where the background is? Your answer inspired me. I'll see the code and try again |
Do you mean your customized dataset does not have |
My three kinds labels have be set |
Just debug whether various kinds labels make mIoU metric different first. |
Thank you very much. I use 'labelme' to label my dataset, and then I delete the 'background' . According to your suggection, I keep the background. And then, the 'mIoU' returns to normal. |
Great to hear that! Now I will close this issue but welcome to create the issue or pull request in the future! Best, |
…open-mmlab#794) * rename md2yml.py to update_model_index.py and update to take file list as input * register update_model_index.py into pre-commit hooks * organize tools folder
When I train my own dataset, the decode.acc_seg and aux.acc_seg can reach more than 80%, but the mIoU is only about 10%. Does anyone know why? And how to calculation the decode.acc_seg and aux.acc_seg?which file I can find the functions in?
The text was updated successfully, but these errors were encountered: