Commit d92aa0a1 authored by zachteed's avatar zachteed
Browse files

pgo fix

parent a1580fe0
......@@ -66,7 +66,7 @@ def write_g2o(pose_graph, fn):
def reshaping_fn(dE, b=1.5):
""" Reshaping function from "Intrinsic consensus on SO(3), Tron et al."""
ang = dE.log.norm(dim=-1)
ang = dE.log().norm(dim=-1)
err = 1/b - (1/b + ang) * torch.exp(-b*ang)
return err.sum()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment