-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DeprecationWarning
triggered with Numpy 1.24.0 usage of np.bool8
#6110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@johnthagen Thanks for reporting the issue, linking the relevant context and suggesting the solution! Replacing I will leave this issue open so that we can address this after holidays. |
DeprecationWarning
trigged with Numpy 1.24.0 usage of np.bool8
DeprecationWarning
triggered with Numpy 1.24.0 usage of np.bool8
groszewn
pushed a commit
that referenced
this issue
Dec 28, 2022
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (#6110). Googlers, see cl/498031924 for internal tests. #oncall
arcra
pushed a commit
to arcra/tensorboard
that referenced
this issue
Jan 12, 2023
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (tensorflow#6110). Googlers, see cl/498031924 for internal tests. #oncall (cherry picked from commit 2bfdca4)
arcra
pushed a commit
that referenced
this issue
Jan 13, 2023
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (#6110). Googlers, see cl/498031924 for internal tests. #oncall (cherry picked from commit 2bfdca4)
yatbear
added a commit
to yatbear/tensorboard
that referenced
this issue
Mar 27, 2023
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (tensorflow#6110). Googlers, see cl/498031924 for internal tests. #oncall
dna2github
pushed a commit
to dna2fork/tensorboard
that referenced
this issue
May 1, 2023
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (tensorflow#6110). Googlers, see cl/498031924 for internal tests. #oncall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment information (required)
Diagnostics
Diagnostics output
Issue description
Numpy 1.24.0 deprecated a number of dtypes:
But
bool8
is still used:tensorboard/tensorboard/compat/tensorflow_stub/dtypes.py
Line 326 in 145baa4
This leads to
DeprecationWarning
s being thrown when using this package:See also, as an example mitigation:
The suggestion seems to be to replace
np.bool8
withnp.bool_
.The text was updated successfully, but these errors were encountered: