Spaces:
Paused
Paused
Muhammad Taqi Raza
commited on
Commit
·
6825e25
1
Parent(s):
72a0cd6
adding depth
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -37,7 +37,7 @@ def download_models():
|
|
37 |
|
38 |
def visualize_depth_npy_as_video(npy_file, fps):
|
39 |
# Load .npy file
|
40 |
-
depth_np = np.load(npy_file
|
41 |
tensor = torch.from_numpy(depth_np)
|
42 |
T, _, H, W = tensor.shape
|
43 |
|
|
|
37 |
|
38 |
def visualize_depth_npy_as_video(npy_file, fps):
|
39 |
# Load .npy file
|
40 |
+
depth_np = np.load(npy_file) # Shape: [T, 1, H, W]
|
41 |
tensor = torch.from_numpy(depth_np)
|
42 |
T, _, H, W = tensor.shape
|
43 |
|