Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
344810c
1
Parent(s):
f2843cf
app.py
CHANGED
|
@@ -200,7 +200,7 @@ def process_video(
|
|
| 200 |
logger.info(f"selective indices: {indices}")
|
| 201 |
print(f"selective indices: {indices}")
|
| 202 |
pc_start_time = time.time()
|
| 203 |
-
pcds = DKT_PIPELINE.
|
| 204 |
pc_end_time = time.time()
|
| 205 |
pc_spend_time = pc_end_time - pc_start_time
|
| 206 |
logger.info(f"prediction2pc_v2 spend time: {pc_spend_time:.2f} seconds for point cloud extraction, len(pcds): {len(pcds)}")
|
|
|
|
| 200 |
logger.info(f"selective indices: {indices}")
|
| 201 |
print(f"selective indices: {indices}")
|
| 202 |
pc_start_time = time.time()
|
| 203 |
+
pcds = DKT_PIPELINE.prediction2pc(prediction_result['depth_map'], prediction_result['rgb_frames'], indices, return_pcd=True)
|
| 204 |
pc_end_time = time.time()
|
| 205 |
pc_spend_time = pc_end_time - pc_start_time
|
| 206 |
logger.info(f"prediction2pc_v2 spend time: {pc_spend_time:.2f} seconds for point cloud extraction, len(pcds): {len(pcds)}")
|