MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / __init__

Method __init__

eval/CIPO_evaluation/pycocotools/cocoeval.py:528–537  ·  view source on GitHub ↗
(self, iouType='segm')

Source from the content-addressed store, hash-verified

526 self.kpt_oks_sigmas = np.array([.26, .25, .25, .35, .35, .79, .79, .72, .72, .62,.62, 1.07, 1.07, .87, .87, .89, .89])/10.0
527
528 def __init__(self, iouType='segm'):
529 if iouType == 'segm' or iouType == 'bbox':
530 self.setDetParams()
531 elif iouType == 'keypoints':
532 self.setKpParams()
533 else:
534 raise Exception('iouType not supported')
535 self.iouType = iouType
536 # useSegm is deprecated
537 self.useSegm = None

Callers

nothing calls this directly

Calls 2

setDetParamsMethod · 0.95
setKpParamsMethod · 0.95

Tested by

no test coverage detected