tensorboard: ValueError: Not a TBLoader or TBPlugin subclass: ......When using tensorboard to view the neural network.
(gymlab) root@iZ8vbhynnqk42im5ymgijyZ:~/rl-agents/scripts# tensorboard --logdir out/HighwayEnv/DQNAgent
/root/anaconda3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: 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_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: 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_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: 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_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: 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_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: 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_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/anaconda3/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)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: 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_qint8 = np.dtype([("qint8", np.int8, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: 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_quint8 = np.dtype([("quint8", np.uint8, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: 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_qint16 = np.dtype([("qint16", np.int16, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: 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_quint16 = np.dtype([("quint16", np.uint16, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: 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_qint32 = np.dtype([("qint32", np.int32, 1)])
/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: 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)])
Traceback (most recent call last):
File "/root/anaconda3/bin/tensorboard", line 11, in <module>
sys.exit(run_main())
File "/root/anaconda3/lib/python3.6/site-packages/tensorboard/main.py", line 59, in run_main
program.get_default_assets_zip_provider())
File "/root/anaconda3/lib/python3.6/site-packages/tensorboard/program.py", line 144, in __init__
self.plugin_loaders = [make_loader(p) for p in plugins]
File "/root/anaconda3/lib/python3.6/site-packages/tensorboard/program.py", line 144, in <listcomp>
self.plugin_loaders = [make_loader(p) for p in plugins]
File "/root/anaconda3/lib/python3.6/site-packages/tensorboard/program.py", line 143, in make_loader
**raise ValueError("Not a TBLoader or TBPlugin subclass: %s" % plugin)**
**ValueError: Not a TBLoader or TBPlugin subclass: <class 'tensorboard_plugin_wit.wit_plugin_loader.WhatIfToolPluginLoader'**>
I find this ValueError is rasied from the program.py .But , what 's wrong with this file. Can anyone help me
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 22 (3 by maintainers)
@jungin500 the method works,just
pip uninstall tensorboard-plugin-wit,it worksI just removed package
tensorboard-plugin-wit==1.6.0.post3and it works like charm.My environment is like below:
maybe different tensorboard and plugin version conflicts? idk.
It seems to work with tensorflow 1.13.1 for me, yeah only 1.14 is broken, earlier versions work.
Funnily enough older tensorflow version < 1.14 does not find my cuda headers.
So my solution is, run training on tf 1.14 and the start tensorboard from virtualenv using older version, works gr8!
I am having this issue and uninstalling with does not solve it for me, tensorflow 1.14
Rather than just commenting “me too” please provide the diagnose_tensorboard.py information as requested in the issue template: https://github.com/tensorflow/tensorboard/issues/new?assignees=&labels=&template=bug_report.md&title=
If you’re using tensorflow 1.14, just uninstall tensorboard-plugin-wit. Colab - “!pip uninstall tensorboard-plugin-wit”