-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
I tried to load optical flow GTs with the commands below:
with h5py.File("./Shift/discrete/images/train/left_stereo/flow.hdf5", "r") as hdf5: # load the HDF5 file im_bytes = bytearray(hdf5['00aa-d36e/00000000_flow_left_stereo.npz']) # select the file we want flow = np.load(BytesIO(im_bytes)) # same as opening an ordinary png file from IO stream.
The output of np.asarray(flow['flow'], dtype=np.float32).max() is 0.01171875. The value range is not correct. (I tried to wrap frame 1 to frame 0, the results are not correct obviously)
Could you share the correct way to decode this value? Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels