()
| 44 | |
| 45 | |
| 46 | def main() -> None: |
| 47 | args = parse_args() |
| 48 | |
| 49 | with open(args.report_a_path, "rb") as report_file: |
| 50 | metrics_a = pickle.load(report_file) |
| 51 | with open(args.report_b_path, "rb") as report_file: |
| 52 | metrics_b = pickle.load(report_file) |
| 53 | |
| 54 | metrics_diff = diff_metrics(metrics_a, metrics_b) |
| 55 | |
| 56 | pycolmap.logging.info("Results A:\n" + create_result_table(metrics_a)) |
| 57 | pycolmap.logging.info("Results B:\n" + create_result_table(metrics_b)) |
| 58 | pycolmap.logging.info( |
| 59 | "Results A - B:\n" + create_result_table(metrics_diff) |
| 60 | ) |
| 61 | |
| 62 | |
| 63 | if __name__ == "__main__": |
no test coverage detected