-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot import name 'circle' from 'skimage.draw' #563
Comments
edit |
@AliaksandrSiarohin Fixed by #565. |
use circle_perimeter instead of circle |
from skimage.draw import circle_perimeter as circle |
it worked |
ImportError Traceback (most recent call last)
in <cell line: 14>()
12 import warnings
13 from base64 import b64encode
---> 14 from demo import load_checkpoints, make_animation # type: ignore (local file)
15 from google.colab import files, output
16 from IPython.display import HTML, Javascript
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...?
The text was updated successfully, but these errors were encountered: