yansong1616 commited on
Commit
e13bbb8
1 Parent(s): 6eed636

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -726,7 +726,7 @@ if __name__ == '__main__':
726
  # SAM2
727
  # 加载模型
728
  sam2_checkpoint = "./SAM2/checkpoints/sam2_hiera_large.pt"
729
- model_cfg = "./sam2_configs/sam2_hiera_l.yaml"
730
  sam2 = build_sam2_video_predictor(model_cfg, sam2_checkpoint)
731
  # dust3rWithSam2 will write the 3D model inside tmpdirname
732
  with tempfile.TemporaryDirectory(suffix='dust3r_gradio_demo') as tmpdirname: # DUST3R生成的3D .glb 文件所在的文件夹名称
 
726
  # SAM2
727
  # 加载模型
728
  sam2_checkpoint = "./SAM2/checkpoints/sam2_hiera_large.pt"
729
+ model_cfg = "sam2_hiera_l.yaml"
730
  sam2 = build_sam2_video_predictor(model_cfg, sam2_checkpoint)
731
  # dust3rWithSam2 will write the 3D model inside tmpdirname
732
  with tempfile.TemporaryDirectory(suffix='dust3r_gradio_demo') as tmpdirname: # DUST3R生成的3D .glb 文件所在的文件夹名称