-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Missing compatibility with the major NumPy v2 release in the latest tensorboard==2.17.0
version.
self._output.emit_scalar(
File "/usr/lib/python3.12/dist-packages/tensorboard/summary/_output.py", line 109, in emit_scalar
tensor_proto = tensor_util.make_tensor_proto(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/dist-packages/tensorboard/util/tensor_util.py", line 405, in make_tensor_proto
numpy_dtype = dtypes.as_dtype(nparray.dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py", line 677, in as_dtype
if type_value.type == np.string_ or type_value.type == np.unicode_:
^^^^^^^^^^
File "/usr/lib/python3.12/dist-packages/numpy/__init__.py", line 397, in __getattr__
raise AttributeError(
AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.. Did you mean: 'strings'?
marcoscunha, kevindoran, yanghanlin, lukasabdallah, gmmyung and 12 more
Metadata
Metadata
Assignees
Labels
No labels