📅  最后修改于: 2022-03-11 15:00:37.501000             🧑  作者: Mango
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)