"test/vscode:/vscode.git/clone" did not exist on "b3c2cfceb35f8c962bf596f81ea6c5dcc47ed39a"
Commit 7f61177e authored by Danila Rukhovich's avatar Danila Rukhovich Committed by Tai-Wang
Browse files

[Enhance] Update PointFusion (#791)

* update point fusion

* remove LIDAR hardcode

* move get_proj_mat_by_coord_type to utils

* fix lint

* remove todo

* fix lint
parent b3d4384e
...@@ -32,7 +32,7 @@ def point_sample(img_meta, ...@@ -32,7 +32,7 @@ def point_sample(img_meta,
points (torch.Tensor): Nx3 point cloud in LiDAR coordinates. points (torch.Tensor): Nx3 point cloud in LiDAR coordinates.
proj_mat (torch.Tensor): 4x4 transformation matrix. proj_mat (torch.Tensor): 4x4 transformation matrix.
coord_type (str): 'DEPTH' or 'CAMERA' or 'LIDAR'. coord_type (str): 'DEPTH' or 'CAMERA' or 'LIDAR'.
img_scale_factor (torch.Tensor): Scale factor with shape of \ img_scale_factor (torch.Tensor): Scale factor with shape of
(w_scale, h_scale). (w_scale, h_scale).
img_crop_offset (torch.Tensor): Crop offset used to crop img_crop_offset (torch.Tensor): Crop offset used to crop
image during data augmentation with shape of (w_offset, h_offset). image during data augmentation with shape of (w_offset, h_offset).
......
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