質問編集履歴

4

修正

2017/10/03 04:34

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- 以下の手順でtensorboardに表示させようと思うのですが、起動後URLアクセスしてもエラーはなくロードの時間長くいくら待っても表示されません
1
+ 以下の手順でtensorboardに表示させようと思うのですが、[こサイト](http://tensorflow.classcat.com/2016/02/11/tensorflow-how-tos-visualizing-learning/)通りコマンドを入力しても出力結果のみ表示されて、tensorboardが表示されません
2
2
 
3
3
  以下に示す、手順、コードに問題があるのでしょうか?ご指摘お願いします
4
4
 
@@ -6,71 +6,23 @@
6
6
 
7
7
  手順1
8
8
 
9
- ターミナルからcd Downloadsに移動し、
9
+ ターミナルからcd Downloadsに移動し、起動
10
10
 
11
11
  ```
12
12
 
13
- pyhton tens.py
13
+ python tens.py --logdir=path/to/log-directory
14
14
 
15
- ```
15
+ >>>15
16
16
 
17
- で起動させる
18
-
19
-
20
-
21
- command+Tで別のターミナルを開いて
22
-
23
- ```
17
+ 5
24
-
25
- tensorboard --logdir=log
26
18
 
27
19
  ```
28
20
 
29
21
 
30
22
 
31
- を実行
32
23
 
33
24
 
34
25
 
35
- ```
36
-
37
- $ tensorboard --logdir=/Users/Downloads/tens.py
38
-
39
- Exception in thread Reloader:
40
-
41
- Traceback (most recent call last):
42
-
43
- File "/anaconda/lib/python3.6/threading.py", line 916, in _bootstrap_inner
44
-
45
- self.run()
46
-
47
- File "/anaconda/lib/python3.6/threading.py", line 864, in run
48
-
49
- self._target(*self._args, **self._kwargs)
50
-
51
- File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/application.py", line 327, in _reload_forever
52
-
53
- reload_multiplexer(multiplexer, path_to_run)
54
-
55
- File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/application.py", line 299, in reload_multiplexer
56
-
57
- multiplexer.AddRunsFromDirectory(path, name)
58
-
59
- File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 175, in AddRunsFromDirectory
60
-
61
- for subdir in GetLogdirSubdirectories(path):
62
-
63
- File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 441, in GetLogdirSubdirectories
64
-
65
- 'directory, %s' % path)
66
-
67
- ValueError: GetLogdirSubdirectories: path exists and is not a directory, /Users/Downloads/tens.py
68
-
69
-
70
-
71
- TensorBoard 0.1.6 at http://hagiharatatsuyanoMacBook-Pro.local:6006 (Press CTRL+C to quit)
72
-
73
- ```
74
26
 
75
27
 
76
28
 

3

修正

2017/10/03 04:34

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -80,6 +80,10 @@
80
80
 
81
81
  import tensorflow as tf
82
82
 
83
+ import os
84
+
85
+ os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
86
+
83
87
 
84
88
 
85
89
  const1 = tf.constant(2)

2

修正

2017/10/03 04:30

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -32,11 +32,43 @@
32
32
 
33
33
 
34
34
 
35
- ```$ tensorboard --logdir=log
35
+ ```
36
36
 
37
- Starting TensorBoard b'54' at http://watasinoMacBook-Pro.local:6006
37
+ $ tensorboard --logdir=/Users/Downloads/tens.py
38
38
 
39
+ Exception in thread Reloader:
40
+
39
- (Press CTRL+C to quit)
41
+ Traceback (most recent call last):
42
+
43
+ File "/anaconda/lib/python3.6/threading.py", line 916, in _bootstrap_inner
44
+
45
+ self.run()
46
+
47
+ File "/anaconda/lib/python3.6/threading.py", line 864, in run
48
+
49
+ self._target(*self._args, **self._kwargs)
50
+
51
+ File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/application.py", line 327, in _reload_forever
52
+
53
+ reload_multiplexer(multiplexer, path_to_run)
54
+
55
+ File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/application.py", line 299, in reload_multiplexer
56
+
57
+ multiplexer.AddRunsFromDirectory(path, name)
58
+
59
+ File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 175, in AddRunsFromDirectory
60
+
61
+ for subdir in GetLogdirSubdirectories(path):
62
+
63
+ File "/anaconda/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 441, in GetLogdirSubdirectories
64
+
65
+ 'directory, %s' % path)
66
+
67
+ ValueError: GetLogdirSubdirectories: path exists and is not a directory, /Users/Downloads/tens.py
68
+
69
+
70
+
71
+ TensorBoard 0.1.6 at http://hagiharatatsuyanoMacBook-Pro.local:6006 (Press CTRL+C to quit)
40
72
 
41
73
  ```
42
74
 

1

修正

2017/09/26 08:37

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -36,13 +36,15 @@
36
36
 
37
37
  Starting TensorBoard b'54' at http://watasinoMacBook-Pro.local:6006
38
38
 
39
- (Press CTRL+C to quit)```
39
+ (Press CTRL+C to quit)
40
+
41
+ ```
40
42
 
41
43
 
42
44
 
43
45
  ```lang-python
44
46
 
45
- # tens.py
47
+ tens.py
46
48
 
47
49
  import tensorflow as tf
48
50