Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,9 +27,8 @@ DEVICE = "cuda" if torch.cuda.is_available() else "CPU"
|
|
27 |
# ).to(DEVICE)
|
28 |
|
29 |
|
30 |
-
|
31 |
-
from .
|
32 |
-
from .dpt_head import create_dpt_head
|
33 |
|
34 |
def head_factory(head_type, output_mode, net, has_conf=False):
|
35 |
"""" build a prediction head for the decoder
|
|
|
27 |
# ).to(DEVICE)
|
28 |
|
29 |
|
30 |
+
from mini_dust3r.heads.linear_head import LinearPts3d
|
31 |
+
from mini_dust3r.heads.dpt_head import create_dpt_head
|
|
|
32 |
|
33 |
def head_factory(head_type, output_mode, net, has_conf=False):
|
34 |
"""" build a prediction head for the decoder
|