📌  相关文章
📜  ImportError: cannot import name 'imread' - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:37.501000             🧑  作者: Mango

代码示例1
This function is depricated so we have two opition to solve this error. 
1. Use older version of scipy. You need use scipy version 1.1.0
2. You can replace this import scipy.ndimage import imread by from imageio import imread
i.e. img = imread(path, as_gray=True).astype(int)