Skip to content

Commit

Permalink
Update xplique.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
xueruma committed Dec 14, 2023
1 parent 67c0674 commit b84e700
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xplique.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
" Y_subset = labels[:5]\n",
"\n",
" explainer = GradCAM(pretrained_fcn)\n",
" # GradCam cannot be applied as it is supposed to be used on convolutional layers\n",
" explanations = explainer(X_subset, Y_subset) \n",
" plt.rcParams[\"figure.figsize\"] = [15, 6]\n",
" for i in range(len(X_subset)):\n",
Expand All @@ -79,7 +80,7 @@
" plt.axis('off')\n",
"\n",
" plt.show()\n",
" break"
" break\n"
]
}
],
Expand Down

0 comments on commit b84e700

Please sign in to comment.