You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function depth_to_3d_v2 accepts a camera matrix of the shape (*, 3, 3). However, depth_to_3d_v2 internally uses the unproject_meshgrid fuction that only supports a camera matrix of the shape (3, 3). When feeding a camera matrix of the shape (B, 3, 3) into depth_to_3d_v2, a runtime error occurs.
@ChristophReich1996 i cannot commit to fix this now -- are you open to send a PR with a solution ? I think that we should remove v2 and just adapt the other to support optional grids
Describe the bug
The function
depth_to_3d_v2
accepts a camera matrix of the shape(*, 3, 3)
. However,depth_to_3d_v2
internally uses theunproject_meshgrid
fuction that only supports a camera matrix of the shape(3, 3)
. When feeding a camera matrix of the shape(B, 3, 3)
intodepth_to_3d_v2
, a runtime error occurs.Reproduction steps
Expected behavior
To fix this bug, either
depth_to_3d_v2
should be restricted to a shape of(3, 3)
orunproject_meshgrid
should be extended to(*, 3, 3)
.Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: