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 classification notebook update #22

Closed GalyaZalesskaya closed 5 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