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.???
#7
I've found an online example with the following line
image = skimage.img_as_float(skimage.io.imread(x)).astype(np.float32)
where I think x is a filename. You could perhaps try something similar. I don't use these modules, so I cannot help more.
Reply


Messages In This Thread
RE: ???Can not convert from <U25 to float64.??? - by Gribouillis - Aug-23-2018, 04:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  numpy.float64 object is not iterable jcdr91 1 13,262 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,941 Apr-06-2019, 11:08 AM
Last Post: scidam
  numpy.float64 and plot_date in matplotlib iv20023 1 5,766 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