Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def run_theia(image):
|
|
23 |
depth_anything_model_name = "LiheYoung/depth-anything-large-hf"
|
24 |
depth_anything_decoder, _ = prepare_depth_decoder(depth_anything_model_name, 'cuda')
|
25 |
|
26 |
-
image = torchvision.transforms.
|
27 |
images = [image]
|
28 |
|
29 |
theia_decode_results, gt_decode_results = decode_everything(
|
|
|
23 |
depth_anything_model_name = "LiheYoung/depth-anything-large-hf"
|
24 |
depth_anything_decoder, _ = prepare_depth_decoder(depth_anything_model_name, 'cuda')
|
25 |
|
26 |
+
image = torchvision.transforms.Resize(size=(224, 224))(image)
|
27 |
images = [image]
|
28 |
|
29 |
theia_decode_results, gt_decode_results = decode_everything(
|