MCPcopy Create free account
hub / github.com/MrSyee/SAM-remove-background / __init__

Method __init__

src/server/tasks/sam.py:31–33  ·  view source on GitHub ↗
(self, triton_client: grpcclient.InferenceServerClient)

Source from the content-addressed store, hash-verified

29# Controller
30class SAMImageEncoder:
31 def __init__(self, triton_client: grpcclient.InferenceServerClient) -> None:
32 logger.info("Initialize SAMImageEncoder.")
33 self.triton_client = triton_client
34
35 @torch.no_grad()
36 async def run(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected