Skip to content
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

Saliency map uniformly red in blackbox testing #80

Open
cansik opened this issue Dec 18, 2024 · 0 comments
Open

Saliency map uniformly red in blackbox testing #80

cansik opened this issue Dec 18, 2024 · 0 comments

Comments

@cansik
Copy link

cansik commented Dec 18, 2024

I tried to use OpenVINO-XAI on my quantized YoloX object detection model, which has not been trained with the training_extensions but is an implementation from super-gradients. I was able to make it work with OpenVINO-XAI, and I am getting correct bounding boxes, scores, and class labels. However, the saliency map appears to be uniformly red (0, 0, 128) after colorization by the explainer (using black-box testing).

self.xai_explainer = xai.Explainer(model=self.engine.model.path,
                                               task=xai.Task.DETECTION,
                                               explain_mode=ExplainMode.BLACKBOX,
                                               preprocess_fn=self._pre_process_fn,
                                               postprocess_fn=self._post_process_fn)

explanation: Explanation = self.xai_explainer.explain(data=image,
                                                      targets=-1,
                                                      preset=Preset.SPEED
                                                      )

What could be causing this issue?
And what would you need to investigate this or how can I further investigate the issue?

It is currently not clear to me, what I could change to get further insights into the explanation process. I was not able to find a lot of information about the xai.Task.DETECTION mode, most of the notebooks are targeted for the classification task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant