openvinotoolkit / openvino_xai

OpenVINO™ Explainable AI (XAI) Toolkit: Visual Explanation for OpenVINO Models
https://openvinotoolkit.github.io/openvino_xai/
Apache License 2.0
29 stars 9 forks source link

XAI cls notebook update #23

Closed GalyaZalesskaya closed 4 months ago

GalyaZalesskaya commented 5 months ago

What was done:

Issues:

TODO:

Question:

Show saliency maps for cheetah class

cheetah_raw_sal_map = explanation.saliency_map[cheetah_class_index] cheetah_raw_sal_map = cv2.cvtColor(cheetah_raw_sal_map, cv2.COLOR_BGR2RGB)

plt.imshow(cheetah_raw_sal_map) plt.show()


Can be moved to xai.utils as `get_sal_map_info` for better readability
GalyaZalesskaya commented 5 months ago

@itrushkin Hi Ilya, there's a draft version of notebook that we discussed. Will appreciate any feedback. Also, there's a question: is there a preferable for OV_notebooks tool to generate Table of Content and add "to the top" links in esch cell as it's done in OV_notebooks?

itrushkin commented 5 months ago

@itrushkin Hi Ilya, there's a draft version of notebook that we discussed. Will appreciate any feedback. Also, there's a question: is there a preferable for OV_notebooks tool to generate Table of Content and add "to the top" links in esch cell as it's done in OV_notebooks?

There is a Python script that generates a table of contents and links to the top using a headers structure: https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/.ci/table_of_content.py It expects -s argument for the notebook location.