[fix] change the function signature of BaseTransform's forward() function, to successfully run tools/visualize.py for camera-only model

This commit is contained in:
JoeyforJoy 2022-06-18 21:57:40 +08:00
parent 24502fe097
commit 4d8b4757a8
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ class BaseTransform(nn.Module):
camera_intrinsics,
img_aug_matrix,
lidar_aug_matrix,
metas=None,
**kwargs,
):
rots = camera2ego[..., :3, :3]