1、运行时提示:typeError:GetNext() takes 1 positional argument but 2 were given。
是因为tensorflow是1.7或者1.9ban版本,tensorboard是不同版本。
pip install tb-nightly,不能解决问题,安装的是tensorboard 0.4的老版本。
pip install upgrade tensorboard不能解决问题,安装的是1.4版本,运行tensorboard时提示:
“Attribute Error:module tensorflow.python.estimator.estimator_lib” has no attribute "sessionRunHook"
查tensorboard安装的版本号: pip3 list, 发现和tensorflow版本不同。
2、升级到相同版本
pip3 instlll tensorboard==1.9