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
In the convolution part of the code the boundary for the window needs to be made 27 and not 15.
#Convolution
for i in range(28):
for j in range(28):
summ = 0
for m in ran:
for n in ran:
if (i+m)>=0 and (i+m)<=27 and (j+n)>=0 and (j+n)<=27:
summ = summ + w[ox+m][oy+n]*inp[i+m][j+n]/255
pot[i][j] = summ
return pot
The text was updated successfully, but these errors were encountered:
Hi @sujay-pandit, it seems that you have figured out the code. If yes, then it would be great if you could help me. I think it is a great repository, but seeing the open issues and unanswered questions, I think the author is not active now, at least not on this repository.
Could you please help me to understand the following (if you know the answer)?
classification/classify.py
Why is Pth set to 150? Why does it say "Should be Pth = 6 for deterministic spike train"?
In the convolution part of the code the boundary for the window needs to be made 27 and not 15.
#Convolution
for i in range(28):
for j in range(28):
summ = 0
for m in ran:
for n in ran:
if (i+m)>=0 and (i+m)<=27 and (j+n)>=0 and (j+n)<=27:
summ = summ + w[ox+m][oy+n]*inp[i+m][j+n]/255
pot[i][j] = summ
return pot
The text was updated successfully, but these errors were encountered: