Hello all,
I have a doubt.
In 0511_CNNVisualisation, under occlusion function-
- width, height = image.shape[-2], image.shape[-1]
Eg-
if we have have an image with dimensions (3,4,5)
image.shape[-1] is for no of columns(which in this case is equal to 5 ) and image.shape[-2] is for no of rows (which in this case is equal to 4)
Width should be equal to no of of columns and height should be equal to no of rows.
So in this context, is this initialisation correct ?
- width, height = image.shape[-2], image.shape[-1]