Cannot import scipy.misc.imread

后端 未结 8 1205
南笙
南笙 2020-12-24 04:55

I\'ve seen this problem before with other people, but haven\'t found a fix.

All I\'m trying to do is:

from scipy.misc import imread

and

8条回答
  •  长情又很酷
    2020-12-24 05:00

    Expanding on user_3pij's answer

    If you want to work with a scipy version that is higher than 1.3.0 then, as instructed in the scipy's documentation of the imread function, we can use the imageio module instead.

    To successfully use the imageio imread function in a way that replicates the functionality of scipy's imread you can follow the instructions described here (disclaimer: I haven't tried it myself yet)

提交回复
热议问题