环境:
TensorBoard 1.13.1 at http://localhost:6006 (Press CTRL+C to quit)
Traceback (most recent call last): File "f:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "f:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\ayshx\AppData\Roaming\Python\Python37\Scripts\tensorboard.exe\__main__.py", line 9, in <module> File "f:\anaconda3\lib\site-packages\tensorboard\main.py", line 57, in run_main app.run(tensorboard.main, flags_parser=tensorboard.configure) File "f:\anaconda3\lib\site-packages\absl\app.py", line 300, in run _run_main(main, args) File "f:\anaconda3\lib\site-packages\absl\app.py", line 251, in _run_main sys.exit(main(argv)) File "f:\anaconda3\lib\site-packages\tensorboard\program.py", line 228, in main self._register_info(server) File "f:\anaconda3\lib\site-packages\tensorboard\program.py", line 274, in _register_info manager.write_info_file(info) File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 269, in write_info_file payload = "%s\n" % _info_to_string(tensorboard_info) File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 129, in _info_to_string for k in _TENSORBOARD_INFO_FIELDS File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 129, in <dictcomp> for k in _TENSORBOARD_INFO_FIELDS File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 51, in <lambda> (dt - datetime.datetime.fromtimestamp(0)).total_seconds()), OSError: [Errno 22] Invalid argument 解决方法: 找到安装目录D:\Anaconda3\Lib\site-packages\tensorboard\manager.py 51行
(dt - datetime.datetime.fromtimestamp(0)).total_seconds()),
修改为
(dt - datetime.datetime.fromtimestamp(86400)).total_seconds()),
|