Spaces:
Running
on
Zero
Running
on
Zero
fix input of inference
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def run_model(target_dir, model) -> dict:
|
|
| 84 |
|
| 85 |
with torch.no_grad():
|
| 86 |
with torch.cuda.amp.autocast(dtype=dtype):
|
| 87 |
-
predictions = model.inference(
|
| 88 |
|
| 89 |
# Convert pose encoding to extrinsic and intrinsic matrices
|
| 90 |
print("Converting pose encoding to extrinsic and intrinsic matrices...")
|
|
|
|
| 84 |
|
| 85 |
with torch.no_grad():
|
| 86 |
with torch.cuda.amp.autocast(dtype=dtype):
|
| 87 |
+
predictions = model.inference(frames)
|
| 88 |
|
| 89 |
# Convert pose encoding to extrinsic and intrinsic matrices
|
| 90 |
print("Converting pose encoding to extrinsic and intrinsic matrices...")
|