XAI for Computer Vision Code and Requirements 5 I Introduction 6 The importance of XAI in CV 7 Introduction 14 The Limitations of XAI 18SHAP 29 Permutation Channel Importance Occlusion for localization Gradient-weighted Class Activation Mapping (Grad-CAM) 31 DeepLift 49 Integrated Gradients 50 Deconvolution 51 Interpretability by Construction Class Activation Map 11.1. GlobalAveragePooling........................................................... 53 11.2. CAMswithPython ............................................................. 53 11.3. RelationshiptoGrad-CAM........................................................ 53 12 Prototype Layers Table of Contents