tf2-keras-explain-examplesはGrad-CAM等が簡単に扱えるライブラリtf-explainのJupyter上での実行例です。
- Tensorflow 2.0.0(or later)
- OpenCV 3.4.2(or later)
- tf-explain 0.2.1
Jupyter上でtf2-keras-explain-examples.ipynbを開いて実行してください。
また、実行例を見るだけであれば、Github上でtf2-keras-explain-examples.ipynbを開くと以下のように見ることが出来ます。
高橋かずひと(https://twitter.com/KzhtTkhs)
https://github.com/sicara/tf-explain
https://www.sicara.ai/blog/2019-07-31-tf-explain-interpretability-tensorflow
tf2-keras-explain-examples is under MIT license.
また、ペンギンの画像はフリー素材ぱくたそ様の写真を利用しています。