Skip to content

[Fix] Deprecating old type alias due to new version of numpy#674

Merged
RangiLyu merged 2 commits intoopen-mmlab:dev-1.xfrom
RangeKing:new_type_alias
Dec 30, 2022
Merged

[Fix] Deprecating old type alias due to new version of numpy#674
RangiLyu merged 2 commits intoopen-mmlab:dev-1.xfrom
RangeKing:new_type_alias

Conversation

@RangeKing
Copy link
Contributor

Motivation

Deprecating old type alias due to new version of numpy.

Modification

  1. Replace the np.int with np.int32.
  2. Replace all np.bool with bool.

Copy link
Collaborator

@zytx121 zytx121 left a comment

Choose a reason for hiding this comment

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

LGTM

@RangiLyu RangiLyu merged commit b88863d into open-mmlab:dev-1.x Dec 30, 2022
@zytx121 zytx121 mentioned this pull request Dec 30, 2022
@RangeKing RangeKing deleted the new_type_alias branch December 30, 2022 10:50
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.

3 participants