Skip to content

Commit

Permalink
Switch np.int_ to np.int32
Browse files Browse the repository at this point in the history
based on author comments.
  • Loading branch information
ssheorey committed Dec 22, 2023
1 parent 41fb966 commit b3fffdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml3d/vis/boundingbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def plot_rect3d_on_img(img,
if color is None:
color = np.ones((line_indices.shape[0], line_indices.shape[1], 3))
for i in range(num_rects):
corners = rect_corners[i].astype(np.int_)
corners = rect_corners[i].astype(np.int32)
# ignore boxes outside a certain threshold
interesting_corners_scale = 3.0
if min(corners[:, 0]
Expand Down

0 comments on commit b3fffdd

Please sign in to comment.