MCPcopy Create free account
hub / github.com/SooLab/CGFormer / loadAnns

Method loadAnns

tools/refer.py:216–220  ·  view source on GitHub ↗
(self, ann_ids=[])

Source from the content-addressed store, hash-verified

214 return [self.Refs[ref_ids]]
215
216 def loadAnns(self, ann_ids=[]):
217 if type(ann_ids) == list:
218 return [self.Anns[ann_id] for ann_id in ann_ids]
219 elif type(ann_ids) == int or type(ann_ids) == unicode:
220 return [self.Anns[ann_ids]]
221
222 def loadImgs(self, image_ids=[]):
223 if type(image_ids) == list:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected