错误:pyramid_gaussian()获得意外的关键字参数“multichannel”

2024-09-27 09:34:20 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用的代码来自这个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'

请提前帮助并感谢您。


Tags: 代码image程序版本pyramiddatawindowslink

热门问题