MarcHabib commited on
Commit
a547007
·
1 Parent(s): 09e3ceb

Updated paths

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -86,8 +86,8 @@ load_training_status()
86
  os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "0"
87
 
88
  # Initialize SAM Predictor
89
- MODEL_CFG = r"configs\sam2.1\sam2.1_hiera_l.yaml"
90
- CHECKPOINT = r"checkpoints\sam2.1_hiera_large.pt"
91
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
92
  predictor = Predictor(MODEL_CFG, CHECKPOINT, DEVICE)
93
 
 
86
  os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "0"
87
 
88
  # Initialize SAM Predictor
89
+ MODEL_CFG = "configs/sam2.1/sam2.1_hiera_l.yaml"
90
+ CHECKPOINT = "checkpoints/sam2.1_hiera_large.pt"
91
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
92
  predictor = Predictor(MODEL_CFG, CHECKPOINT, DEVICE)
93