From 962f093736ffe55c089bc618842a8b8567318c8c Mon Sep 17 00:00:00 2001 From: chbehrens Date: Wed, 17 Jan 2024 09:23:50 +0100 Subject: [PATCH] [Fix] Replace np.long with np.int64 (#2872) Co-authored-by: Christian Behrens <9531979+chbehrens@users.noreply.github.com> --- mmdet3d/datasets/transforms/dbsampler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]