Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lamaria/structs/sparse_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def add_residuals_for_sparse_eval(
loss = pyceres.TrivialLoss()

for tag_id, cp in variables.control_points.items():
tri = cp.triangulated
tri = copy.deepcopy(cp.triangulated)
if tri is None:
logger.info(f"Control point {tag_id} not triangulated")
continue
Expand Down Expand Up @@ -131,7 +131,7 @@ def add_residuals_for_sparse_eval(
cost,
loss,
[
cp.triangulated,
tri,
variables.sim3d.rotation.quat,
variables.sim3d.translation,
variables.log_scale,
Expand Down
Loading