0

I'm trying to read an image file and using scipy ndimage and then trying to convert the corresponding image file as float ndarray. But its throwing exception:

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py", line 512, in __getattr__
    raise AttributeError(name)
AttributeError: __float__
Fabian N.
  • 3,807
  • 2
  • 23
  • 46
arvind
  • 1
  • 1
    Show us your code – DavidG Apr 24 '17 at 09:21
  • Possibly usefule references: http://stackoverflow.com/questions/40690442/error-when-using-scipy-misc-imread-attributeerror-float and http://stackoverflow.com/a/15345969/2422125 – Fabian N. Apr 24 '17 at 09:22

0 Answers0