Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read about the 'bin 'file #78

Open
xu19971109 opened this issue Sep 26, 2023 · 1 comment
Open

Read about the 'bin 'file #78

xu19971109 opened this issue Sep 26, 2023 · 1 comment

Comments

@xu19971109
Copy link

  1. I didn't known why there is no directory like 'nuscenes_gt_database/pts_dir/xxx.bin', in my directory structure, the path need to change to 'nuscenes_gt_database/xxx.bin'.And I need to change the data_root=None in UnifiedDataBaseSampler config to data_root=data_root. The len of bin file which I read is more than 6w. Is this normal? (I followed mmdet3d to prepare for nuscenes.)
image
  1. About read bin file, I find there is an error in np.frombuffer(pts_bytes, dtype=np.float32): buffer size must be a multiple of element size. The reason is that the bytes need to change b'\x00' to \x00, actually is np.frombuffer(pts_bytes[2:-1], dtype=np.float32 Is there is a bug in mmcv?
@junjie18
Copy link
Owner

@xu19971109

Use the code in CMT to re-generate. Since official mmdetection3d only provide point cloud copy paste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants