MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / __init__

Method __init__

utils/sam_utils/transforms.py:23–24  ·  view source on GitHub ↗
(self, target_length: int)

Source from the content-addressed store, hash-verified

21 """
22
23 def __init__(self, target_length: int) -> None:
24 self.target_length = target_length
25
26 def apply_image(self, image: np.ndarray) -> np.ndarray:
27 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected