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

Method items

utils/sam_utils/amg.py:41–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 15

build_optimizerMethod · 0.80
hook_switcherFunction · 0.80
load_config_dict_to_optFunction · 0.80
load_opt_commandFunction · 0.80
filterMethod · 0.80
catMethod · 0.80
to_numpyMethod · 0.80
from_pretrainedMethod · 0.80
load_weightsMethod · 0.80
load_weightsMethod · 0.80
load_weightsMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected