()
| 108 | |
| 109 | |
| 110 | def main(): |
| 111 | args = parse_args() |
| 112 | preds = mmengine.load(args.results_file)['results'] |
| 113 | annotations = mmengine.load(args.ann_file) |
| 114 | assert len(preds) == len(annotations) |
| 115 | ground_eval(annotations, preds, args.iou_thr) |
| 116 | |
| 117 | |
| 118 | if __name__ == '__main__': |
no test coverage detected