Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/moverseai/moai
Browse files Browse the repository at this point in the history
  • Loading branch information
moversekostas committed Jun 26, 2024
2 parents 51c997f + 68754eb commit b00f2bb
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 234 deletions.
2 changes: 1 addition & 1 deletion moai/conf/engine/serve/handlers/input/image_raw.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @package handlers.preprocess.image_raw

_target_: moai.serve.handlers.ImageRaw
_target_: moai.serve.handlers.image_raw.ImageRaw
3 changes: 0 additions & 3 deletions moai/monads/geometry/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def __init__(self) -> None:
def forward(
self,
points: torch.Tensor,
image: torch.Tensor = None,
rotation: torch.Tensor = None,
translation: torch.Tensor = None,
intrinsics: torch.Tensor = None,
Expand All @@ -136,8 +135,6 @@ def forward(
N is the camera views,
L is the number of points.
"""
if image is not None:
h, w = image.shape[-2:]
# points_cam = torch.einsum('bpi,bvij->bvpj', points, transform[:, :, :3, :3]) + transform[:, :, np.newaxis, :3, 3]
points_cam = (
torch.einsum(
Expand Down
Loading

0 comments on commit b00f2bb

Please sign in to comment.