mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 23:08:44 +08:00
Update data_utils doc (#2076)
This commit is contained in:
1 parent
10dab142d0
commit
26fc1c95dc
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user