You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That part of code is for reading the .pfm file, which contains a depth map or a probability map.
I think it is something related to your input. Is your .pfm file generated correctly?
when I run fusion.sh, have a bug:
data = np.fromstring(data_string, data_type)
ValueError: string size must be a multiple of element size
your code is"
scale = float((file.readline()).decode('UTF-8').rstrip())
if scale < 0: # little-endian
data_type = '<f'
else:
data_type = '>f' # big-endian
data_string = file.read()
#data = np.fromstring(data_string)
data = np.fromstring(data_string, "data_type")
The text was updated successfully, but these errors were encountered: