├── .gitignore ├── README.md ├── data ├── demo_images │ ├── 0c7ac4a8c9dfa802.png │ ├── ILSVRC2012_val_00010495.JPEG │ ├── ILSVRC2012_val_00015410.JPEG │ ├── ILSVRC2012_val_00021206.JPEG │ ├── ILSVRC2012_val_00032239.JPEG │ ├── ILSVRC2012_val_00041179.JPEG │ ├── n02814860_87.JPEG │ └── obselik.png └── imagenet_data │ ├── accordion_imageids.txt │ ├── banjo_imageids.txt │ ├── book_imageids.txt │ ├── cannon_imageids.txt │ ├── coffeemaker_imageids.txt │ ├── cowboyhat_imageids.txt │ ├── dumbell_imageids.txt │ ├── dutchoven_imageids.txt │ ├── maltese_imageids.txt │ └── scuba_imageids.txt ├── doc └── figures │ ├── bird_cascading_demo.png │ ├── bird_img_cascading_demo.png │ ├── bird_independent_demo.png │ ├── fmnist_cnn_random_labels_test.png │ ├── fmnist_mlp_random_labels_test.png │ ├── guided_backprop_demo.png │ ├── mnist_cnn_random_labels_test.png │ ├── mnist_digit_zero_random_labels_test.png │ ├── mnist_mlp_random_labels_test.png │ ├── p03.pdf │ ├── p10.pdf │ └── saliency_methods_and_edge_detector.png ├── models └── inceptionv3 │ └── imagenet_class_index.json ├── notebooks ├── cnn_mnist_cascading_randomization.ipynb ├── cnn_mnist_independent_randomization.ipynb ├── inceptionv3_cascading_randomization.ipynb ├── inceptionv3_guidedbackprop_demo.ipynb ├── inceptionv3_independent_layer_randomization.ipynb └── mlp_mnist_cascading_randomization.ipynb ├── requirements.txt └── src ├── __init__.py ├── inception_v3.py ├── randomize_inceptionv3.py ├── train_cnn_models.py ├── train_mlp_models.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/README.md -------------------------------------------------------------------------------- /data/demo_images/0c7ac4a8c9dfa802.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/0c7ac4a8c9dfa802.png -------------------------------------------------------------------------------- /data/demo_images/ILSVRC2012_val_00010495.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/ILSVRC2012_val_00010495.JPEG -------------------------------------------------------------------------------- /data/demo_images/ILSVRC2012_val_00015410.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/ILSVRC2012_val_00015410.JPEG -------------------------------------------------------------------------------- /data/demo_images/ILSVRC2012_val_00021206.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/ILSVRC2012_val_00021206.JPEG -------------------------------------------------------------------------------- /data/demo_images/ILSVRC2012_val_00032239.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/ILSVRC2012_val_00032239.JPEG -------------------------------------------------------------------------------- /data/demo_images/ILSVRC2012_val_00041179.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/ILSVRC2012_val_00041179.JPEG -------------------------------------------------------------------------------- /data/demo_images/n02814860_87.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/n02814860_87.JPEG -------------------------------------------------------------------------------- /data/demo_images/obselik.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/demo_images/obselik.png -------------------------------------------------------------------------------- /data/imagenet_data/accordion_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/accordion_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/banjo_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/banjo_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/book_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/book_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/cannon_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/cannon_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/coffeemaker_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/coffeemaker_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/cowboyhat_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/cowboyhat_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/dumbell_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/dumbell_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/dutchoven_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/dutchoven_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/maltese_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/maltese_imageids.txt -------------------------------------------------------------------------------- /data/imagenet_data/scuba_imageids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/data/imagenet_data/scuba_imageids.txt -------------------------------------------------------------------------------- /doc/figures/bird_cascading_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/bird_cascading_demo.png -------------------------------------------------------------------------------- /doc/figures/bird_img_cascading_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/bird_img_cascading_demo.png -------------------------------------------------------------------------------- /doc/figures/bird_independent_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/bird_independent_demo.png -------------------------------------------------------------------------------- /doc/figures/fmnist_cnn_random_labels_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/fmnist_cnn_random_labels_test.png -------------------------------------------------------------------------------- /doc/figures/fmnist_mlp_random_labels_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/fmnist_mlp_random_labels_test.png -------------------------------------------------------------------------------- /doc/figures/guided_backprop_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/guided_backprop_demo.png -------------------------------------------------------------------------------- /doc/figures/mnist_cnn_random_labels_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/mnist_cnn_random_labels_test.png -------------------------------------------------------------------------------- /doc/figures/mnist_digit_zero_random_labels_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/mnist_digit_zero_random_labels_test.png -------------------------------------------------------------------------------- /doc/figures/mnist_mlp_random_labels_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/mnist_mlp_random_labels_test.png -------------------------------------------------------------------------------- /doc/figures/p03.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/p03.pdf -------------------------------------------------------------------------------- /doc/figures/p10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/p10.pdf -------------------------------------------------------------------------------- /doc/figures/saliency_methods_and_edge_detector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/doc/figures/saliency_methods_and_edge_detector.png -------------------------------------------------------------------------------- /models/inceptionv3/imagenet_class_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/models/inceptionv3/imagenet_class_index.json -------------------------------------------------------------------------------- /notebooks/cnn_mnist_cascading_randomization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/cnn_mnist_cascading_randomization.ipynb -------------------------------------------------------------------------------- /notebooks/cnn_mnist_independent_randomization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/cnn_mnist_independent_randomization.ipynb -------------------------------------------------------------------------------- /notebooks/inceptionv3_cascading_randomization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/inceptionv3_cascading_randomization.ipynb -------------------------------------------------------------------------------- /notebooks/inceptionv3_guidedbackprop_demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/inceptionv3_guidedbackprop_demo.ipynb -------------------------------------------------------------------------------- /notebooks/inceptionv3_independent_layer_randomization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/inceptionv3_independent_layer_randomization.ipynb -------------------------------------------------------------------------------- /notebooks/mlp_mnist_cascading_randomization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/notebooks/mlp_mnist_cascading_randomization.ipynb -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/inception_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/src/inception_v3.py -------------------------------------------------------------------------------- /src/randomize_inceptionv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/src/randomize_inceptionv3.py -------------------------------------------------------------------------------- /src/train_cnn_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/src/train_cnn_models.py -------------------------------------------------------------------------------- /src/train_mlp_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/src/train_mlp_models.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adebayoj/sanity_checks_saliency/HEAD/src/utils.py --------------------------------------------------------------------------------