AttributeError:模块“scipy.ndimage”没有属性“imread”
代码片段 import numpy as np from scipy import ndimage
导入 matplotlib.pyplot 作为 plt %matplotlib inline
img = np.expand_dims(ndimage.imread('NNd.PNG'),0) plt.imshow(img[0])
我正在使用谷歌合作,但它不工作。我试过使用 imageio , cv2 方法,但它不起作用。请协助