tyriaa commited on
Commit
275edbe
1 Parent(s): d617907

Initial commit1532

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ load_training_status()
113
  os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "0"
114
 
115
  # Initialize SAM Predictor
116
- MODEL_CFG = r"https://huggingface.co/spaces/tyriaa/project/blob/main/sam2/sam2_hiera_l.yaml"
117
- CHECKPOINT = r"https://huggingface.co/spaces/tyriaa/project/blob/main/sam2/sam2.1_hiera_large.pt"
118
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
119
  predictor = Predictor(MODEL_CFG, CHECKPOINT, DEVICE)
120
 
 
113
  os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "0"
114
 
115
  # Initialize SAM Predictor
116
+ MODEL_CFG = r"project/sam2/sam2_hiera_l.yaml"
117
+ CHECKPOINT = r"project/sam2/sam2.1_hiera_large.pt"
118
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
119
  predictor = Predictor(MODEL_CFG, CHECKPOINT, DEVICE)
120