Skip to content

fix: uses deprecated numpy alias np.int - #35

Open
andrewwhitecdw wants to merge 1 commit into
NVIDIA:masterfrom
andrewwhitecdw:bugfix/test-rel-7058446c
Open

fix: uses deprecated numpy alias np.int#35
andrewwhitecdw wants to merge 1 commit into
NVIDIA:masterfrom
andrewwhitecdw:bugfix/test-rel-7058446c

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Problem

fix: uses deprecated numpy alias np.int

Fix

Replace:

    levels = np.zeros((im_rois.shape[0], 1), dtype=np.int)

with:

    levels = np.zeros((im_rois.shape[0], 1), dtype=np.int32)

Files changed

  • lib/core/test_rel.py

@andrewwhitecdw
andrewwhitecdw marked this pull request as ready for review July 27, 2026 21:05
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

Successfully merging this pull request may close these issues.

1 participant