geyongtao commited on
Commit
3f5fcc5
1 Parent(s): e606d8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -27,9 +27,8 @@ DEVICE = "cuda" if torch.cuda.is_available() else "CPU"
27
  # ).to(DEVICE)
28
 
29
 
30
-
31
- from .linear_head import LinearPts3d
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