Skip to content

Commit

Permalink
SAMPredictor: adding CoralSCOP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Pierce authored Dec 11, 2024
1 parent 44fa82f commit 15717ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coralnet_toolbox/SAM/QtDeployPredictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def setup_models_layout(self):
"RepViT-SAM": "repvit.pt",
"EdgeSAM": "edge_sam_3x.pt",
"MobileSAM": "vit_t.pt",
"CoralSCOP": "vit_b_coralscop.pt",
"SAM-Base": "vit_b.pt",
"SAM-Large": "vit_l.pt",
"SAM-Huge": "vit_h.pt"
Expand Down Expand Up @@ -295,6 +296,8 @@ def load_model(self):
model_type = "repvit"
elif "edge_" in self.model_path.lower():
model_type = "edge_sam"
elif "_coralscop" in self.model_path.lower():
model_type = "vit_b_coralscop"
elif "_t" in self.model_path.lower():
model_type = "vit_t"
elif "_b" in self.model_path.lower():
Expand Down

0 comments on commit 15717ed

Please sign in to comment.