I would like to implement and use things like Grad-CAM in my C++ OpenCV applications.
Am I right, that there is currently no dnn-layer-gradient functionality (or back-propagation) implemented in OpenCV, because OpenCV isn’t used for training?
Is the inference engine and the model representation suitable for implementing gradient techniques, or are there some limitations that make it harder (e.g. because the inference engine is strongly optimized for forward passes)?
well you can iterate the layers, and retrieve weights & biases,
you can also “tap” the forward() pass by specifying a list of output layers
(that would be the “activations”, right ?)
but how would you get a proper gradient from that ?
wouldn’t that need the backwards (derived) activation ?