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)
in
27 for n in ran:
28 if (i+m)>=0 and (i+m)<=255 and (j+n)>=0 and (j+n)<=255:
---> 29 summ = summ + w[ox+m][oy+n]*img[i+m][j+n]
30 pot[i][j] = summ
31
IndexError: index 217 is out of bounds for axis 0 with size 217
The text was updated successfully, but these errors were encountered:
have you adjust the parameters 'm' which indicates the input neurons? And you can set 'pixel' to do so.
Here is the example
pixel_x = 50
# pixel_x = 16
m = pixel_x*pixel_x #Number of neurons in first layer
how do I input a bigger size image?
I get an error when I put bigger size image :
IndexError Traceback (most recent call last)
in
27 for n in ran:
28 if (i+m)>=0 and (i+m)<=255 and (j+n)>=0 and (j+n)<=255:
---> 29 summ = summ + w[ox+m][oy+n]*img[i+m][j+n]
30 pot[i][j] = summ
31
IndexError: index 217 is out of bounds for axis 0 with size 217
The text was updated successfully, but these errors were encountered: