MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / get_fields

Method get_fields

detectron2/structures/instances.py:100–107  ·  view source on GitHub ↗

Returns: dict: a dict which maps names (str) to data of the fields Modifying the returned dict will modify this instance.

(self)

Source from the content-addressed store, hash-verified

98 return self._fields[name]
99
100 def get_fields(self) -> Dict[str, Any]:
101 """
102 Returns:
103 dict: a dict which maps names (str) to data of the fields
104
105 Modifying the returned dict will modify this instance.
106 """
107 return self._fields
108
109 # Tensor-like methods
110 def to(self, *args: Any, **kwargs: Any) -> "Instances":

Callers 1

detector_postprocessFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected