MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / __init__

Method __init__

data/coco.py:46–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 Initilized with a dictionary lookup of classnames to indexes
45 """
46 def __init__(self):
47 self.label_map = get_label_map(osp.join(COCO_ROOT, 'coco_labels.txt'))
48
49 def __call__(self, target, width, height):
50 """

Callers

nothing calls this directly

Calls 1

get_label_mapFunction · 0.85

Tested by

no test coverage detected