我使用的代码来自这个link。在Windows 7上使用python 3.6.5运行程序。我的scikit映像版本0.13.1
>>> image = data.astronaut()
>>> rows, cols, dim = image.shape
>>> print (rows, cols, dim)
512 512 3
>>> pyramid = tuple(pyramid_gaussian(image, downscale=2, multichannel=True))
TypeError: pyramid_gaussian() got an unexpected keyword argument 'multichannel'
请提前帮助并感谢您。
您所指的链接显示了scikit映像0.14dev(documentation)文档中的一个示例。但是,您使用的是版本0.13.1,在这个版本中,参数multichannel不可用(documentation)。在
相关问题 更多 >
编程相关推荐