-
Notifications
You must be signed in to change notification settings - Fork 92
-
Notifications
You must be signed in to change notification settings - Fork 92
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 can we use OmniXai for object detection and Segmentation task? #94
Comments
Hi, you need to implement a wrapper over the object detection model so that the output of this model wrapper is the object class or the object location. This wrapped model should have a similar interface as image classification models. |
Hi, Do you have some guidelines or implementations on how to achieve this with object detection model. |
We don't have specific examples yet. But you can check the implementation of GradCAM: https://github.com/salesforce/OmniXAI/blob/main/omnixai/explainers/vision/specific/gradcam/gradcam.py These two files provide enough info for how to implement a wrapper. The basic idea is that the input is an image, the output is either class label or object location which can be used to compute losses. |
I was trying to run Integrated Gradient technique for some classification models and i am able to do that.
But how can we use OmniXAI for models that gives bounding box as output?
The text was updated successfully, but these errors were encountered: