Skip to content

Commit

Permalink
Update mobile_sam.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbds committed Jul 15, 2024
1 parent 5f5b51f commit d52a123
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/preprocessor/mobile_sam.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from annotator.mobile_sam import SamDetector_Aux
from scripts.supported_preprocessor import Preprocessor
from scripts.utils import resize_image_with_pad

class PreprocessorMobileSam(Preprocessor):
def __init__(self):
Expand All @@ -17,7 +16,6 @@ def __call__(
slider_3=None,
**kwargs
):
#img, remove_pad = resize_image_with_pad(input_image, resolution)
if self.model is None:
self.model = SamDetector_Aux.from_pretrained()

Expand Down

0 comments on commit d52a123

Please sign in to comment.