Python
1import tensorflow as tf 2 3# データフローグラフを構築 --- (*1) 4a = tf.constant(20, name="a") 5b = tf.constant(30, name="b") 6mul_op = a * b 7 8# セッションを生成 --- (*2) 9sess = tf.Session() 10 11# TensorBoardを使う --- (*3) 12tw = tf.summary.FileWriter("log_dir", graph=sess.graph) 13 14# セッションを実行する --- (*4) 15print(sess.run(mul_op))
以上のようなコードでコードを視覚化したいと考えているのですが、
WARNING:tensorflow: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. WARNING:tensorflow:Found more than one metagraph event per run. Overwriting the metagraph with the newest event. Starting TensorBoard b'47' at http://0.0.0.0:6006 (Press CTRL+C to quit) WARNING:tensorflow:path ../external/data/plugin/text/runs not found, sending 404 WARNING:tensorflow:path ../external/data/plugin/text/runs not found, sending 404 WARNING:tensorflow:path ../external/data/plugin/text/runs not found, sending 404 WARNING:tensorflow:path ../external/data/plugin/text/runs not found, sending 404
以上のようなことをゆわれてグラフを表示することができません。
原因はどこにあるのでしょうか。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/03/09 04:49
2018/03/09 05:14
2018/03/12 05:33