How to analyze what a convolutional neural network sees in an image. Tested on the Inception model. This technique is also called feature maximization (or activation maximization).
https://github.com/Hvass-Labs/TensorF...
This tutorial does NOT work with TensorFlow 2 and later versions, and it would take too much time and effort to update it.