Skip to content

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Jan 4, 2023

np.int was deprecated in 1.20 and finally removed in 1.24. grep'ing through the repository revealed only one use. numpy/numpy#22607.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Phillip, minor question but LGTM regardless

@pmeier pmeier merged commit 35f68a0 into pytorch:main Jan 6, 2023
@pmeier pmeier deleted the np-int branch January 6, 2023 08:54
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Hey @pmeier!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Jan 9, 2023
Summary:
* np.int -> np.int32

* Update test/test_transforms.py

Reviewed By: NicolasHug

Differential Revision: D42414481

fbshipit-source-id: d3b5f6a0f9304068f94fb5a43feb6f31243d4fad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants