Tensorboard 使用(1)
1.报错
tensorboard: error: unrecognized arguments:D:\Project\Tensorflow_models\BP_Project\dataset\results
出错的原因是没有切换到results的上一级目录执行导致的,我原来的执行命令是这样的:
(base) C:\Users\Administrator>tensorboard --logdir = D:\Project\Tensorflow_models\BP_Project\dataset\results
报错:
usage: tensorboard [-h] [--helpfull] [--logdir PATH] [--host ADDR]
[--port PORT] [--purge_orphaned_data BOOL]
[--reload_interval SECONDS] [--db URI] [--db_import]
[--inspect] [--tag TAG] [--event_file PATH]
[--path_prefix PATH] [--window_title TEXT]
[--max_reload_threads COUNT]
[--samples_per_plugin SAMPLES_PER_PLUGIN]
[--master_tpu_unsecure_channel ADDR]
[--debugger_data_server_grpc_port PORT]
[--debugger_port PORT]
tensorboard: error: unrecognized arguments: D:\Project\Tensorflow_models\BP_Project\dataset\results
切换到results上一级目录执行
(base) D:\Project\Tensorflow_models\BP_Project\dataset>tensorboard --logdir = results
成功
TensorBoard 1.11.0 at http://Windows10:6006 (Press CTRL+C to quit)
W1021 08:30:55.973890 Reloader tf_logging.py:120] Found more than one graph event per run, or there was a metagraph containing a graph_def, as well as one or more graph events. Overwriting the graph with the newest event.
W1021 08:30:55.973890 14088 tf_logging.py:120] Found more than one graph event per run, or there was a metagraph containing a graph_def, as well as one or more graph events. Overwriting the graph with the newest event.
W1021 08:30:56.116508 Reloader tf_logging.py:120] Found more than one metagraph event per run. Overwriting the metagraph with the newest event.
W1021 08:30:56.116508 14088 tf_logging.py:120] Found more than one metagraph event per run. Overwriting the metagraph with the newest event.
.
.
.
2.打开
浏览器打开:
http://localhost:6006/