FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Suppress the same NumPy deprecation warning in tensorboard · PPPLDeepLearning/plasma-python@d31908f · GitHub

Commit d31908f

Browse files
committed
Suppress the same NumPy deprecation warning in tensorboard
as in tensorflow. Occurs on ALCF Theta numpy 1.17.2 tensorboard 1.12.2 pypi_0 pypi tensorflow 1.12.0 pypi_0 pypi tensorflow-base 1.14.0 eigen_py36hf4a566f_0 tensorflow-estimator 1.14.0 py_0 /home/felker/FRNN_project/build/miniconda-3.6-4.5.4/miniconda3/4.5.4/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)])
1 parent f53eeee commit d31908f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plasma/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
warnings.filterwarnings('ignore',
1616
category=FutureWarning,
1717
message=r"passing \(type, 1\) or '1type' as a synonym of type is deprecated", # noqa
18-
module="tensorflow")
18+
module="tensor*")
1919

2020
# Optional: disable the C-based library diagnostic info and warning messages:
2121
# 2019-11-06 18:27:31.698908: I ... dynamic library libcublas.so.10

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL