You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have a two-input, one-output model as follows
I am using GradCAM, with code snippet below. I have stated my penultimate layer to be 'ria-conv', which happens after concatenation of both networks.
However, the dimension of cam is 2 - one for each network (15 * 256 * 320 is my image count * image dimensions) , as shown in this screenshot
As far as my understanding goes, since the actual last convolutional layer is after concatenation, cam should be 1 * 15 * 256 * 320? This happens both when I explicitly state the penultimate layer and when I state it as -1.
The text was updated successfully, but these errors were encountered:
Hi, @marieff587 . Thank you for your good question.
I think that the size of two inputs of your model are the same. Please imagine that they are different. The specification of Gradcam is returning cam images that are the same size as the input images. So, if the model has two or more inputs, Gradcam returns multiple cam images corresponding to each input.
Thank you for this useful visualization package!
Right now I have a two-input, one-output model as follows
I am using GradCAM, with code snippet below. I have stated my penultimate layer to be 'ria-conv', which happens after concatenation of both networks.
However, the dimension of
cam
is 2 - one for each network (15 * 256 * 320 is my image count * image dimensions) , as shown in this screenshotAs far as my understanding goes, since the actual last convolutional layer is after concatenation,
cam
should be 1 * 15 * 256 * 320? This happens both when I explicitly state the penultimate layer and when I state it as -1.The text was updated successfully, but these errors were encountered: