keras-grad-cam
keras-grad-cam copied to clipboard
Loss function
Hi. Good job putting this together. I was wondering whether loss=K.sum(...)
should be replaced with K.max(...)
once we are interested on the output for the class with highest output value only. What do you think?
Notice that the last layer type is target_category_loss,
K.sum here is the same as K.max, only a single class is activated.
Absolutely. Thanks.