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
Hello,
For my master thesis I have to use DeepSource so I just installed it and tried your first notebooks as example. I then when I run the first cell with the plots I obbtain the following error on the line d_horn = ds.horn_kernel(image,radius=15,step_height=2):
File ~/opt/anaconda3/lib/python3.9/site-packages/deepsource-0.1.0-py3.9.egg/deepsource/utils.py:176, in horn_kernel(y, radius, step_height)
174 for r in range(1,radius):
175 for i,j in np.argwhere(y==1):
--> 176 rr, cc = draw.circle(i, j, radius=r, shape=mag.shape)
177 mag[rr, cc] += 1.*step_height/radius
178 return mag
AttributeError: module 'skimage.draw' has no attribute 'circle'
Should I simply change in the source code the draw.circle function with draw.circle_perimeter function as it is done in the function 'Circlefew line aboves ? or by maybe the funcitondraw.disk`?
I tried it but I obtain different plots for the horn ones.
The text was updated successfully, but these errors were encountered:
Hello,
For my master thesis I have to use DeepSource so I just installed it and tried your first notebooks as example. I then when I run the first cell with the plots I obbtain the following error on the line
d_horn = ds.horn_kernel(image,radius=15,step_height=2)
:Should I simply change in the source code the
draw.circle
function withdraw.circle_perimeter
function as it is done in the function 'Circlefew line aboves ? or by maybe the funciton
draw.disk`?I tried it but I obtain different plots for the horn ones.
The text was updated successfully, but these errors were encountered: