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
I think it should be modified like this.
lidar2sensor = np.array(sweep['lidar_points']['lidar2sensor'])
points_sweep[:, :3] -= lidar2sensor[:3, 3]
points_sweep[:, : 3] = points_sweep[:, :3] @ lidar2sensor[:3, :3]
Just swap the position of two lines of code
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
sys.platform: linux
Python: 3.8.10 (default, Mar 13 2023, 10:26:41) [GCC 9.4.0]
CUDA available: True
MUSA available: False
numpy_random_seed: 2147483648
GPU 0,1,2,3: NVIDIA GeForce RTX 4090
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.7, V11.7.99
GCC: x86_64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.13.0+cu117
PyTorch compiling details: PyTorch built with:
TorchVision: 0.14.0+cu117
OpenCV: 4.5.4
MMEngine: 0.10.5
MMDetection: 3.1.0
MMDetection3D: 1.4.0+fe25f7a
spconv2.0: True
Reproduces the problem - code sample
Reproduces the problem - command or script
it is in file mmdet3d/datasets/transforms/loading.py
function: LoadPointsFromMultiSweeps
Reproduces the problem - error message
logic error I think. Please check
Additional information
*if X' = R * X0 + t, then X0 = R^-1 * X' - R^-1 t
The text was updated successfully, but these errors were encountered: