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

Method set

detectron2/data/catalog.py:162–168  ·  view source on GitHub ↗

Set multiple metadata with kwargs.

(self, **kwargs)

Source from the content-addressed store, hash-verified

160 return copy.copy(self.__dict__)
161
162 def set(self, **kwargs):
163 """
164 Set multiple metadata with kwargs.
165 """
166 for k, v in kwargs.items():
167 setattr(self, k, v)
168 return self
169
170 def get(self, key, default=None):
171 """

Callers 14

register_mot_instancesFunction · 0.45
register_all_cityscapesFunction · 0.45
register_all_ade20kFunction · 0.45
register_lvis_instancesFunction · 0.45
load_lvis_jsonFunction · 0.45
register_coco_panopticFunction · 0.45
register_coco_instancesFunction · 0.45
register_pascal_vocFunction · 0.45

Calls

no outgoing calls

Tested by 1

testMethod · 0.36