| 503 | Params for coco evaluation api |
| 504 | ''' |
| 505 | def setDetParams(self): |
| 506 | self.imgIds = [] |
| 507 | self.catIds = [] |
| 508 | # np.arange causes trouble. the data point on arange is slightly larger than the true value |
| 509 | self.iouThrs = np.linspace(.5, 0.95, int(np.round((0.95 - .5) / .05)) + 1, endpoint=True) |
| 510 | self.recThrs = np.linspace(.0, 1.00, int(np.round((1.00 - .0) / .01)) + 1, endpoint=True) |
| 511 | self.maxDets = [1, 10, 100] |
| 512 | self.areaRng = [[0 ** 2, 1e5 ** 2], [0 ** 2, 32 ** 2], [32 ** 2, 96 ** 2], [96 ** 2, 1e5 ** 2]] |
| 513 | self.areaRngLbl = ['all', 'small', 'medium', 'large'] |
| 514 | self.useCats = 0 |
| 515 | |
| 516 | def setKpParams(self): |
| 517 | self.imgIds = [] |