Skip to content

Commit

Permalink
[Fix] Replace np.long with np.int64 (#2872)
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Behrens <[email protected]>
  • Loading branch information
chbehrens and chbehrens authored Jan 17, 2024
1 parent 0ef13b8 commit 962f093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet3d/datasets/transforms/dbsampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 962f093

Please sign in to comment.