MCPcopy Create free account
hub / github.com/dcharatan/flowmap / load_trajectory

Function load_trajectory

paper/common.py:164–167  ·  view source on GitHub ↗
(method: Method, scene: Scene)

Source from the content-addressed store, hash-verified

162
163@cache
164def load_trajectory(method: Method, scene: Scene) -> Float[Tensor, "point 3"]:
165 path = RESULTS_PATH / method.tag / scene.tag / "sparse/0"
166 extrinsics, _, _ = read_colmap_model(path)
167 return extrinsics[:, :3, 3]
168
169
170def load_metrics(

Callers 1

load_metricsFunction · 0.85

Calls 1

read_colmap_modelFunction · 0.90

Tested by

no test coverage detected