This repository contains experiments (and related code) for the paper 'Gradient Similarity: An Explainable Approach to Detect Adversarial Attacks against Deep Learning'. We create a gradient based white-box detector of adversarial samples for MNIST, DREBIN, CIFAR2 datasets.