相关疑难解决方法(0)

AttributeError: 模块 'scipy.misc' 没有属性 'toimage'

在执行以下代码时:

scipy.misc.toimage(output * 255, high=255, low=0, cmin=0, cmax=255).save(
    params.result_dir + 'final/%5d_00_%d_out.png' % (test_id, ratio))
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

AttributeError: 模块 'scipy.misc' 没有属性 'toimage'

我尝试按照此处所述安装 Pillow:scipy.misc module has no attribute imread? 但同样的错误仍然存​​在。请帮忙。谢谢。

python scipy python-imaging-library rawimage

10
推荐指数
1
解决办法
2万
查看次数

标签 统计

python ×1

python-imaging-library ×1

rawimage ×1

scipy ×1