MCPcopy Create free account
hub / github.com/colmap/colmap / main

Function main

benchmark/reconstruction/compare.py:46–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def 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
63if __name__ == "__main__":

Callers 1

compare.pyFile · 0.70

Calls 4

diff_metricsFunction · 0.90
create_result_tableFunction · 0.90
parse_argsFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected