nanushio
commited on
Commit
•
4de6d7c
1
Parent(s):
80a6c49
- [MINOR] [SOURCE] [UPDATE] 1. update app.py
Browse files
app.py
CHANGED
@@ -63,10 +63,8 @@ def inference_one_video(input_video):
|
|
63 |
"""
|
64 |
TESTING
|
65 |
"""
|
66 |
-
# Convert input video to tensor and adjust dimensions
|
67 |
-
input_video_tensor = torch.from_numpy(input_video).permute(0, 3, 1, 2)
|
68 |
views, _ = spatial_temporal_view_decomposition(
|
69 |
-
|
70 |
)
|
71 |
|
72 |
for k, v in views.items():
|
|
|
63 |
"""
|
64 |
TESTING
|
65 |
"""
|
|
|
|
|
66 |
views, _ = spatial_temporal_view_decomposition(
|
67 |
+
input_video, dopt["sample_types"], temporal_samplers
|
68 |
)
|
69 |
|
70 |
for k, v in views.items():
|