Open ghost opened 1 year ago
edit from skimage.draw import circle
change it into
from skimage.draw import ellipse as cricle
@AliaksandrSiarohin Fixed by #565.
use circle_perimeter instead of circle
from skimage.draw import circle_perimeter as circle
edit
from skimage.draw import circle
change it intofrom skimage.draw import ellipse as cricle
it worked
but it should be from skimage.draw import ellipse as circle
besides, from skimage.draw import circle_perimeter as circle
should be more reasonable
ImportError Traceback (most recent call last)
2 frames
/content/logger.py in
5
6 import os
----> 7 from skimage.draw import circle
8
9 import matplotlib.pyplot as plt
ImportError: cannot import name 'circle' from 'skimage.draw' (/usr/local/lib/python3.10/dist-packages/skimage/draw/init.py)
(this is from demo colab) this seems new for me, i tried the np.pad fix, and here goes another import error. I tried searching for this but didn't get any results. Is this another deprecated/deleted function...?