-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to calculate the metrics? such as Pixel Accuracy(PA),Intersection over Union (IoU) and Average Precision (AP) et.al. #12
Comments
Please refer to Section 3.3 in supplementary material to understand how to calculate different metrics. Thank you. |
Thanks for your reply, Is there a corresponding code about calc metrics? And, how to generate boundingbox in dataset.py as prompt input? |
The code for calculating IOU, PA and Dice is shown as below. For the AP part, please refer to the official COCO evaluation code . Thank you!
|
Hello, I wanna know how to use box prompt for testing on dataset? Is there any code for this part? How to make changes on dataset.py? |
Hi, please refer to the code below to get bounding box of specific mask (you need to convert it into numpy array first):
|
Thank you for your great work!
I wanna know how to calculate the metrics, but I couldn't find them in the code. Please let me know. Thank you.
The text was updated successfully, but these errors were encountered: