AttributeError: module 'scipy.misc' has no attribute 'toimage'

后端 未结 5 816
失恋的感觉
失恋的感觉 2021-01-05 06:47

While executing the below code:

scipy.misc.toimage(output * 255, high=255, low=0, cmin=0, cmax=255).save(
    params.result_dir + \'final/%5d_00_%d_out.png\'         


        
5条回答
  •  说谎
    说谎 (楼主)
    2021-01-05 07:15

    Current scipy version 1.3.0 doesn't include toimage() 1.3.0 docs here Try to install scipy 1.2.0 or 1.1.0 1.2.0 docs here with toimage() included.

提交回复
热议问题