質問編集履歴

2

環境修正

2018/05/25 01:20

投稿

MagMag
MagMag

スコア80

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  エラーを見てもどこが悪いかわからず、対応方法を教えていただけないでしょうか?
8
8
 
9
- (環境:MacOS、PythonTensorFlow1.1.0、Python3.6.5)
9
+ (環境:MacOS、TensorFlow1.1.0、Python3.6.5)
10
10
 
11
11
 
12
12
 

1

スクリプトとエラー部を<code>で記載

2018/05/25 01:20

投稿

MagMag
MagMag

スコア80

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
-
13
+ ```スクリプト
14
14
 
15
15
  import tensorflow as tf
16
16
 
@@ -34,13 +34,15 @@
34
34
 
35
35
  writer.add_graph(graph)
36
36
 
37
+ ```
37
38
 
39
+
40
+
41
+ ```エラー
38
42
 
39
43
  ---------------------------------------------------------------------------
40
44
 
41
- AttributeError
42
-
43
- Traceback (most recent call last)
45
+ AttributeError Traceback (most recent call last)
44
46
 
45
47
  <ipython-input-1-3cc8bfda43d6> in <module>()
46
48
 
@@ -55,3 +57,5 @@
55
57
 
56
58
 
57
59
  AttributeError: __enter__
60
+
61
+ ```