()
| 360 | |
| 361 | |
| 362 | def main(): |
| 363 | args = parse_args() |
| 364 | preds = mmengine.load(args.results_file)['results'] |
| 365 | annotations = mmengine.load(args.ann_file) |
| 366 | assert len(preds) == len(annotations) |
| 367 | ground_eval(annotations, preds, args.iou_thr) |
| 368 | |
| 369 | |
| 370 | if __name__ == '__main__': |
no test coverage detected