質問編集履歴

10

修正

2017/03/15 13:51

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,9 @@
32
32
 
33
33
 
34
34
 
35
+ ```
36
+
35
- ```bash-3.2$ activate tf3
37
+ bash-3.2$ activate tf3
36
38
 
37
39
  Error: activate must be sourced. Run 'source activate envname'
38
40
 
@@ -46,7 +48,9 @@
46
48
 
47
49
  bash: syntax error near unexpected token `('
48
50
 
49
- bash-3.2$```
51
+ bash-3.2$
52
+
53
+ ```
50
54
 
51
55
 
52
56
 

9

変更

2017/03/15 13:51

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -24,48 +24,36 @@
24
24
 
25
25
  追記
26
26
 
27
- 追記していただいたコマンド
27
+ 追記していただいたコマンドに絶対パスを入れていかように入力したところ次のようなコメントが出ました。
28
28
 
29
29
 
30
30
 
31
- ```C:\Windows\system32>activate tf3
32
-
33
- (tf3) C:\Windows\system32>tensorboard --logdir=c:/temp/tf_log
34
-
35
- Starting TensorBoard b'41' on port 6006
31
+ ![イメージ説明](b6fa110cdf59e38025700af0105cfc37.png)
36
-
37
- (You can navigate to http://172.xx.xx.xx:6006)```
38
32
 
39
33
 
40
34
 
35
+ ```bash-3.2$ activate tf3
41
36
 
37
+ Error: activate must be sourced. Run 'source activate envname'
42
38
 
43
- をjupyter上で実行したら以下のようなコマンドになりました。
39
+ instead of 'activate envname'.
44
-
45
- ![![イメージ説明](e4d04ec6573a89feb3bb623ff3b2ee9f.png)](121e4fb83a42b1ea06b9c0e28d634765.png)
46
40
 
47
41
 
48
42
 
49
- 上記画像のエラーコマンド
43
+ bash-3.2$ tensorboard--logdir=http://localhost:8888/notebooks/anaconda/Anaconda-Navigator.app/Contents/jupyter_tfbook/tensor3.ipynb
50
44
 
51
- bash-3.2$ C:\Windows\system32>activate tf3
45
+ Starting TensorBoard b'41'on port 6006(You can navigatetohttp://172.xx.xx.xx:6006)
52
46
 
53
- bash: C:Windowssystem32: command not found
47
+ bash: syntax error near unexpected token `('
54
48
 
55
- bash-3.2$ (tf3) C:\Windows\system32>tensorboard --logdir=c:/temp/tf_log
56
-
57
- bash: syntax error near unexpected token `C:\Windows\system32'
58
-
59
- bash-3.2$ Starting TensorBoard b'41' on port 6006
60
-
61
- bash: Starting: command not found
62
-
63
- bash-3.2$ (You can navigate to http://172.xx.xx.xx:6006)
64
-
65
- bash: You: command not found
49
+ bash-3.2$```
66
50
 
67
51
 
68
52
 
69
- ちなみに入力したターミナルは下画像のjupyter上から開きました。
53
+ ちなみに絶対パス(http://localhost:8888/notebooks/anaconda/Anaconda-Navigator.app/Contents/jupyter_tfbook/tensor3.ipynb)はanaconda上からテキストエディタにドラック&ドロップて取得しもので間違いないと思います
70
54
 
71
- ![イメージ説明](6a29a28148f290bda8d220b84195ee76.png)
55
+ また絶対パスはlogdir=以降から入力してあります。
56
+
57
+
58
+
59
+ 改善箇所のご指摘お願いします。

8

修正

2017/03/15 13:50

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
 
48
48
 
49
-
49
+ 上記画像のエラーコマンド
50
50
 
51
51
  bash-3.2$ C:\Windows\system32>activate tf3
52
52
 

7

修正

2017/03/15 10:37

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
 
48
48
 
49
- ```
49
+
50
50
 
51
51
  bash-3.2$ C:\Windows\system32>activate tf3
52
52
 
@@ -64,8 +64,6 @@
64
64
 
65
65
  bash: You: command not found
66
66
 
67
- ```
68
-
69
67
 
70
68
 
71
69
  ちなみに入力したターミナルは下画像のjupyter上から開きました。

6

修正

2017/03/15 10:36

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -46,9 +46,9 @@
46
46
 
47
47
 
48
48
 
49
+ ```
49
50
 
50
-
51
- ```bash-3.2$ C:\Windows\system32>activate tf3
51
+ bash-3.2$ C:\Windows\system32>activate tf3
52
52
 
53
53
  bash: C:Windowssystem32: command not found
54
54
 
@@ -62,7 +62,9 @@
62
62
 
63
63
  bash-3.2$ (You can navigate to http://172.xx.xx.xx:6006)
64
64
 
65
- bash: You: command not found```
65
+ bash: You: command not found
66
+
67
+ ```
66
68
 
67
69
 
68
70
 

5

修正

2017/03/15 10:36

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -46,6 +46,26 @@
46
46
 
47
47
 
48
48
 
49
+
50
+
51
+ ```bash-3.2$ C:\Windows\system32>activate tf3
52
+
53
+ bash: C:Windowssystem32: command not found
54
+
55
+ bash-3.2$ (tf3) C:\Windows\system32>tensorboard --logdir=c:/temp/tf_log
56
+
57
+ bash: syntax error near unexpected token `C:\Windows\system32'
58
+
59
+ bash-3.2$ Starting TensorBoard b'41' on port 6006
60
+
61
+ bash: Starting: command not found
62
+
63
+ bash-3.2$ (You can navigate to http://172.xx.xx.xx:6006)
64
+
65
+ bash: You: command not found```
66
+
67
+
68
+
49
69
  ちなみに入力したターミナルは下画像のjupyter上から開きました。
50
70
 
51
71
  ![イメージ説明](6a29a28148f290bda8d220b84195ee76.png)

4

変更

2017/03/15 10:35

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -13,8 +13,6 @@
13
13
  を入力しても
14
14
 
15
15
 
16
-
17
- ```bash: tensorboard: command not found```
18
16
 
19
17
 
20
18
 

3

変更

2017/03/15 10:31

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -28,17 +28,19 @@
28
28
 
29
29
  追記していただいたコマンド
30
30
 
31
- ```
32
31
 
32
+
33
- C:\Windows\system32>activate tf3
33
+ ```C:\Windows\system32>activate tf3
34
34
 
35
35
  (tf3) C:\Windows\system32>tensorboard --logdir=c:/temp/tf_log
36
36
 
37
37
  Starting TensorBoard b'41' on port 6006
38
38
 
39
- (You can navigate to http://172.xx.xx.xx:6006)
39
+ (You can navigate to http://172.xx.xx.xx:6006)```
40
40
 
41
- ```
41
+
42
+
43
+
42
44
 
43
45
  をjupyter上で実行したら以下のようなコマンドになりました。
44
46
 

2

変更

2017/03/15 10:30

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -26,10 +26,26 @@
26
26
 
27
27
  追記
28
28
 
29
- コマンド
29
+ 追記していただいたコマンド
30
30
 
31
+ ```
31
32
 
33
+ C:\Windows\system32>activate tf3
34
+
35
+ (tf3) C:\Windows\system32>tensorboard --logdir=c:/temp/tf_log
36
+
37
+ Starting TensorBoard b'41' on port 6006
38
+
39
+ (You can navigate to http://172.xx.xx.xx:6006)
40
+
41
+ ```
32
42
 
33
43
  をjupyter上で実行したら以下のようなコマンドになりました。
34
44
 
35
45
  ![![イメージ説明](e4d04ec6573a89feb3bb623ff3b2ee9f.png)](121e4fb83a42b1ea06b9c0e28d634765.png)
46
+
47
+
48
+
49
+ ちなみに入力したターミナルは下画像のjupyter上から開きました。
50
+
51
+ ![イメージ説明](6a29a28148f290bda8d220b84195ee76.png)

1

変更

2017/03/15 10:28

投稿

trafalbad
trafalbad

スコア303

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,15 @@
21
21
  というエラーが返ってきてtensorboardが開けません。
22
22
 
23
23
  anaconda環境でtensorboardを、もしくはなんたかの方法でtensorboard利用する方法を教えてください。
24
+
25
+
26
+
27
+ 追記
28
+
29
+ コマンド
30
+
31
+
32
+
33
+ をjupyter上で実行したら以下のようなコマンドになりました。
34
+
35
+ ![![イメージ説明](e4d04ec6573a89feb3bb623ff3b2ee9f.png)](121e4fb83a42b1ea06b9c0e28d634765.png)