Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
khokao committed Sep 30, 2024
1 parent 9f9d4a0 commit f839a41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gsplat/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,9 @@ def rasterization_2dgs(
"gradient_2dgs": densify, # This holds the gradient used for densification for 2dgs
}

render_normals = torch.einsum("...ij,...hwj->...hwi", torch.linalg.inv(viewmats)[..., :3, :3], render_normals)
render_normals = torch.einsum(
"...ij,...hwj->...hwi", torch.linalg.inv(viewmats)[..., :3, :3], render_normals
)

return (
render_colors,
Expand Down

0 comments on commit f839a41

Please sign in to comment.