Update data_utils doc (#2076)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-06-14 17:57:33 -07:00
1 parent 10dab142d0
commit 26fc1c95dc
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ def get_depth_image_from_path(
interpolation: Depth value interpolation for resizing. interpolation: Depth value interpolation for resizing.
Returns: Returns:
Depth image torch tensor with shape [width, height, 1]. Depth image torch tensor with shape [height, width, 1].
""" """
if filepath.suffix == ".npy": if filepath.suffix == ".npy":
image = np.load(filepath) * scale_factor image = np.load(filepath) * scale_factor