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
IndexError Traceback (most recent call last)
<ipython-input-74-77779a4b2a3b> in <module>()
8 for i, a1 in enumerate(attributions_gradin):
9 row, col = divmod(i, 2)
---> 10 plot(xs[i].reshape(224,224,3), cmap='Greys', axis=axes[row, col*3]).set_title('Original')
11 plot(a1.reshape(224,224,3), xi = xs[i], axis=axes[row,col*3+1]).set_title('Grad*Input')
12 # plot(a2.reshape(28,28), xi = xs[i], axis=axes[row,col*3+2]).set_title('Shapley Values')
IndexError: index 0 is out of bounds for axis 0 with size 0
The text was updated successfully, but these errors were encountered:
I am trying to to do it for 3 channel images with 2 classes.
on running the following code
I am getting the error
The text was updated successfully, but these errors were encountered: