Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Fix type conversion in Normalize class after Numpy 1.20 update #1194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BartStolarek
Copy link

Using the aliases of builtin types like np.int is deprecated
For a long time, np.int has been an alias of the builtin int. This is repeatedly a cause of confusion for newcomers, and existed mainly for historic reasons.

These aliases have been deprecated. The table below shows the full list of deprecated aliases, along with their exact meaning. Replacing uses of items in the first column with the contents of the second column will work identically and silence the deprecation warning.

The third column lists alternative NumPy names which may occasionally be preferential. See also Data types for additional details.

Source: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant