擅长:python、mysql、java
<p>尝试在Python中定义变量,比如</p>
<p><strong>logs_path=/tmp/logs/1</strong></p>
<p>那就这样定义你的作家吧</p>
<p>写入程序=tf.summary.FileWriter(<strong>日志路径</strong>,图=tf.get_默认图形())</p>
<p>然后在命令提示符下运行命令</p>
<p>tensorboard logdir=<strong>/tmp/logs/1</strong></p>