Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
negvet committed Sep 18, 2024
1 parent 7c289e5 commit 8050c90
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 88 deletions.
14 changes: 7 additions & 7 deletions .ci/spellcheck/.pyspelling.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Agentic
agentic
ai
al
AISE
AISEClassification
AISEDetection
Alibaba
ALiBi
AlpacaEval
Expand Down Expand Up @@ -75,6 +78,7 @@ bilinear
biometrics
BiT
blockwise
BLACKBOX
boolean
CentOS
CFG
Expand Down Expand Up @@ -384,6 +388,7 @@ Kaiming
Kalman
kbps
KD
KDE
keras
KerasCV
keypoint
Expand Down Expand Up @@ -516,6 +521,7 @@ NCE
NEOX
NER
NETP
Netron
NeuSpell
NeXT
NLP
Expand Down Expand Up @@ -936,6 +942,7 @@ WavLM
WebGL
WebUI
WER
WHITEBOX
WIKISQL
wikipedia
WikiTable
Expand All @@ -948,13 +955,6 @@ wuerstchen
WuerstchenDiffNeXt
Würstchen
XAI
AISE
AISEClassification
AISEDetection
WHITEBOX
BLACKBOX
Netron
KDE
XCode
Xeon
xl
Expand Down
14 changes: 12 additions & 2 deletions notebooks/explainable-ai-1-basic/explainable-ai-1-basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"\n",
"# Install openvino xai package\n",
"# %pip install -q --no-deps \"openvino-xai>=1.1.0\"\n",
"%pip install git+https://github.com/negvet/openvino_xai@et/bug_fixing\n",
"%pip install git+https://github.com/openvinotoolkit/openvino_xai@et/bug_fixing\n",
"\n",
"if platform.system() != \"Windows\":\n",
" %pip install -q \"matplotlib>=3.4\"\n",
Expand Down Expand Up @@ -377,11 +377,21 @@
" data=input_image,\n",
" targets=result_index, # can be a single target or a container of targets\n",
" label_names=imagenet_classes, # optional, list of label names\n",
" overlay=True, # optional, saliency map overlay over the input image, defaults to False\n",
" overlay=True, # saliency map overlays over the input image, defaults to False\n",
")\n",
"explanation.plot()"
]
},
{
"cell_type": "markdown",
"id": "6d6e107b",
"metadata": {},
"source": [
"<b>Note:</b> by default, overlay is applied over the image in the `data` argument. \n",
"In this case, `data` was preprocessed (e.g. resized to 224x224), but still recognizable by human.\n",
"In order for the overlay to applied over the original image, provide original image with `original_image` argument (please refer to [OpenVINO™ Explainable AI Toolkit (2/3): Deep Dive](../explainable-ai-2-deep-dive/README.md))."
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down
102 changes: 55 additions & 47 deletions notebooks/explainable-ai-2-deep-dive/explainable-ai-2-deep-dive.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 8050c90

Please sign in to comment.