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

Method as_dict

detectron2/data/catalog.py:155–160  ·  view source on GitHub ↗

Returns all the metadata as a dict. Note that modifications to the returned dict will not reflect on the Metadata object.

(self)

Source from the content-addressed store, hash-verified

153 super().__setattr__(key, val)
154
155 def as_dict(self):
156 """
157 Returns all the metadata as a dict.
158 Note that modifications to the returned dict will not reflect on the Metadata object.
159 """
160 return copy.copy(self.__dict__)
161
162 def set(self, **kwargs):
163 """

Callers 1

coco_panoptic.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected