diff --git a/mmdet3d/datasets/transforms/dbsampler.py b/mmdet3d/datasets/transforms/dbsampler.py index 56e8440b74..093cdfb170 100644 --- a/mmdet3d/datasets/transforms/dbsampler.py +++ b/mmdet3d/datasets/transforms/dbsampler.py @@ -280,7 +280,7 @@ def sample_all(self, s_points_list.append(s_points) gt_labels = np.array([self.cat2label[s['name']] for s in sampled], - dtype=np.long) + dtype=np.int64) if ground_plane is not None: xyz = sampled_gt_bboxes[:, :3]