Skip to content

Commit

Permalink
Fixed a couple sonarcloud issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrichardwebster committed Oct 28, 2024
1 parent 4a43e2b commit f54cacd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 984 deletions.
4 changes: 1 addition & 3 deletions examples/SerializedDetectionSaliency.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
}
],
"source": [
"import sys\n",
"\n",
"!{sys.executable} -m pip install -qU pip\n",
"print(\"Installing xaitk-saliency...\")\n",
"!{sys.executable} -m pip install -q xaitk-saliency[tools]\n",
Expand Down Expand Up @@ -401,7 +399,7 @@
"\n",
" bbox = dets_dset.anns[detection_id][\"bbox\"]\n",
" plt.gca().add_patch(Rectangle((bbox[0], bbox[1]), bbox[2], bbox[3], linewidth=1, edgecolor=\"r\", facecolor=\"none\"))\n",
" plt.imshow(sal_maps_results[detection_id], cmap=\"jet\", alpha=0.3)\n",
" plt.imshow(sal_maps_results[det_id], cmap=\"jet\", alpha=0.3)\n",
"\n",
"\n",
"plot_saliency_map(detection_id)"
Expand Down
989 changes: 8 additions & 981 deletions examples/covid_classification.ipynb

Large diffs are not rendered by default.

0 comments on commit f54cacd

Please sign in to comment.