-
Notifications
You must be signed in to change notification settings - Fork 62
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
How to extract the classification probability of each class? #17
Comments
Perhaps, you could reuse Lines 121 to 124 in ff17bf5
Here, x means the classification probabilities before sigmoid function. |
Hi @jiwoon-ahn, Thanks for answering. I found the classification probabilities successfully. I scaled the outputed cam response to 0-1 and set a threshold to 0.15. If the response is over the threshold, I count the IoU with the segmentation ground truth. My counted mIoU is 36.4. Can you tell me how you obtain the mIoU numbers? Do I need to keep training your model based on the provided weights? It would be so great if you can share your experience with me. Thanks a lot! |
How do you calculate mIOU? Where to download GT? Could you refer to any source code or reference regarding this? |
Hi @jiwoon-ahn,
I am trying to output the classification probability of 20 classes of VGG-based model. Can I take the probabilities from infer_cls.py? (e.g.,
psa/network/vgg16_cls.py
Line 28 in b091fe8
Since in infer_cls.py, you only do forward_cam instead of forward, I am wondering if you can take the outputted probability of each class from here. My understanding is, I can only obtain the CAMs from here. If my understanding is wrong, do you have any suggestions about how to take the probability of each class of the multi-label classifier out? Thanks a lot!
The text was updated successfully, but these errors were encountered: