MCPcopy
hub / github.com/yangchris11/samurai / items

Method items

sam2/sam2/utils/amg.py:43–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 return self._stats[key]
42
43 def items(self) -> ItemsView[str, Any]:
44 return self._stats.items()
45
46 def filter(self, keep: torch.Tensor) -> None:
47 for k, v in self._stats.items():

Callers 15

save_masks_to_dirFunction · 0.80
vos_inferenceFunction · 0.80
_slice_stateMethod · 0.80
filterMethod · 0.80
catMethod · 0.80
to_numpyMethod · 0.80
benchmarkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected