Closed GalyaZalesskaya closed 4 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 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.
What was done:
Issues:
explanation = explainer(image, target_explain_group=TargetExplainGroup.ALL)
fails witherror: OpenCV(4.9.0) /io/opencv/modules/imgproc/src/resize.cpp:3789: error: (-215:Assertion failed) !dsize.empty() in function 'resize'
TODO:
tests/assets/cheetah_person.jpg
image with wget link (can be done during PR to OV_notebooks)target_layer
for MobiilenetV3 is correct. It returns correct values, but it's not the last conv layerQuestion:
Advanced section
andInsert XAI branch
sectionShow 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()