Python Forum
???Can not convert from <U25 to float64.???
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
???Can not convert from <U25 to float64.???
#3
(Aug-22-2018, 07:46 AM)Gribouillis Wrote: I see in the doc that the expected argument for img_as_float() has type ndarray, not str.

Thank you very much for your help. I loaded the fill as follows

image = img_as_float(data.ceta())
i the error I received was
Error:
AttributeError: module 'skimage.data' has no attribute 'ceta'
"CETA" is the name of the file. I changed the name for practicality. So I don't understand the error. I am very new to using Python.
Reply


Messages In This Thread
RE: ???Can not convert from <U25 to float64.??? - by damsel_pie - Aug-22-2018, 10:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  numpy.float64 object is not iterable jcdr91 1 13,300 Apr-22-2020, 04:09 PM
Last Post: jefsummers
  ValueError: Input contains infinity or a value too large for dtype('float64') Rabah_r 1 12,955 Apr-06-2019, 11:08 AM
Last Post: scidam
  numpy.float64 and plot_date in matplotlib iv20023 1 5,784 Jun-21-2017, 10:23 PM
Last Post: zivoni

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020