【发布时间】:2019-01-27 17:16:58
【问题描述】:
我正在使用 tensorflow 版本 1.3.0 和 tensorboard 版本 1.10.0 我刚刚更新了我的 tensorboard 版本,更新后当我尝试启动 tensorboard 时收到以下错误消息;
Traceback (most recent call last):
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\runpy.py", line 193,
in _run_module_as_main
"__main__", mod_spec)
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\runpy.py", line 85, i
n _run_code
exec(code, run_globals)
File "C:\Users\Sztaki_user\Anaconda3\envs\tensorflow\Scripts\tensorboard.exe\_
_main__.py", line 5, in <module>
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\site-packages\tensorb
oard\main.py", line 40, in <module>
from tensorboard import default
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\site-packages\tensorb
oard\default.py", line 37, in <module>
from tensorboard.plugins.audio import audio_plugin
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\site-packages\tensorb
oard\plugins\audio\audio_plugin.py", line 30, in <module>
from tensorboard.plugins.audio import metadata
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\site-packages\tensorb
oard\plugins\audio\metadata.py", line 22, in <module>
from tensorboard.plugins.audio import plugin_data_pb2
File "c:\users\sztaki_user\anaconda3\envs\tensorflow\lib\site-packages\tensorb
oard\plugins\audio\plugin_data_pb2.py", line 22, in <module>
serialized_pb=_b('\n+tensorboard/plugins/audio/plugin_data.proto\x12\x0btens
orboard\"}\n\x0f\x41udioPluginData\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x3
7\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32%.tensorboard.AudioPluginData.Encoding\"
\n\x08\x45ncoding\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03WAV\x10\x0b\x62\x06
proto3')
TypeError: __init__() got an unexpected keyword argument 'serialized_options'
我尝试使用以下命令更改 tensorboards 日志目录:tensorboard --logdir=日志目录
你有什么想法可以解决这个问题吗?
谢谢。
修复:
我刚刚将我的 TensorBoard 更新到 1.9.0 版,现在它可以工作了!
【问题讨论】:
-
请向我们提供更多详细信息,例如,您已经尝试过什么?
-
我刚刚将我的 tensorboard 更新到 1.9.0 版,现在它可以工作了!
-
干得好,彼得!您可以将答案添加到您的问题中,并在几天后将其标记为答案。所以你的问题可以结束了。
标签: python tensorflow typeerror tensorboard