質問編集履歴
3
誤字、直し忘れ
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
File "F:\source\repos\GLN\GLN\GLN\GLN.py", line 86, in network_gln
|
68
68
|
|
69
|
-
ln = Conv2D(16, (5,5),strides=1, padding="same", activation="relu")(
|
69
|
+
ln = Conv2D(16, (5,5),strides=1, padding="same", activation="relu")(Add)
|
70
70
|
|
71
71
|
File "C:\Users\MARUI\AppData\Local\conda\conda\envs\DeepLearning\lib\site-packages\keras\engine\base_layer.py", line 414, in __call__
|
72
72
|
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
str(inputs) + '. All inputs to the layer '
|
78
78
|
|
79
|
-
ValueError: Layer conv2d_1 was called with an input that isn't a symbolic tensor. Received type: <class 'keras.layers.merge.Concatenate'>. Full input: [<keras.layers.merge.Concatenate object at 0x00000
|
79
|
+
ValueError: Layer conv2d_1 was called with an input that isn't a symbolic tensor. Received type: <class 'keras.layers.merge.Concatenate'>. Full input: [<keras.layers.merge.Concatenate object at 0x000002F0AFBF9D30>]. All inputs to the layer should be tensors.
|
80
80
|
|
81
81
|
```
|
82
82
|
|
@@ -144,7 +144,7 @@
|
|
144
144
|
|
145
145
|
|
146
146
|
|
147
|
-
ln = Conv2D(16, (5,5),strides=1, padding="same", activation="relu")(
|
147
|
+
ln = Conv2D(16, (5,5),strides=1, padding="same", activation="relu")(Add)
|
148
148
|
|
149
149
|
ln = Conv2D(32, (7,7),strides=1, padding="same", activation="relu")(ln)
|
150
150
|
|
2
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,6 +80,8 @@
|
|
80
80
|
|
81
81
|
```
|
82
82
|
|
83
|
+
###コード
|
84
|
+
|
83
85
|
```Python
|
84
86
|
|
85
87
|
import os
|
1
Tracebackを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,6 +22,64 @@
|
|
22
22
|
|
23
23
|
```
|
24
24
|
|
25
|
+
###Traceback
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
Traceback (most recent call last):
|
30
|
+
|
31
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\ptvsd_launcher.py", line 119, in <module>
|
32
|
+
|
33
|
+
vspd.debug(filename, port_num, debug_id, debug_options, run_as)
|
34
|
+
|
35
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\debugger.py", line 37, in debug
|
36
|
+
|
37
|
+
run(address, filename, *args, **kwargs)
|
38
|
+
|
39
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_local.py", line 64, in run_file
|
40
|
+
|
41
|
+
run(argv, addr, **kwargs)
|
42
|
+
|
43
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_local.py", line 125, in _run
|
44
|
+
|
45
|
+
_pydevd.main()
|
46
|
+
|
47
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 1743, in main
|
48
|
+
|
49
|
+
debugger.connect(host, port)
|
50
|
+
|
51
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 1099, in run
|
52
|
+
|
53
|
+
return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
|
54
|
+
|
55
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 1106, in _exec
|
56
|
+
|
57
|
+
pydev_imports.execfile(file, globals, locals) # execute the script
|
58
|
+
|
59
|
+
File "c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\_pydev_imps\_pydev_execfile.py", line 25, in execfile
|
60
|
+
|
61
|
+
exec(compile(contents+"\n", file, 'exec'), glob, loc)
|
62
|
+
|
63
|
+
File "F:\source\repos\GLN\GLN\GLN\GLN.py", line 99, in <module>
|
64
|
+
|
65
|
+
model = network_gln()
|
66
|
+
|
67
|
+
File "F:\source\repos\GLN\GLN\GLN\GLN.py", line 86, in network_gln
|
68
|
+
|
69
|
+
ln = Conv2D(16, (5,5),strides=1, padding="same", activation="relu")(x3)
|
70
|
+
|
71
|
+
File "C:\Users\MARUI\AppData\Local\conda\conda\envs\DeepLearning\lib\site-packages\keras\engine\base_layer.py", line 414, in __call__
|
72
|
+
|
73
|
+
self.assert_input_compatibility(inputs)
|
74
|
+
|
75
|
+
File "C:\Users\MARUI\AppData\Local\conda\conda\envs\DeepLearning\lib\site-packages\keras\engine\base_layer.py", line 285, in assert_input_compatibility
|
76
|
+
|
77
|
+
str(inputs) + '. All inputs to the layer '
|
78
|
+
|
79
|
+
ValueError: Layer conv2d_1 was called with an input that isn't a symbolic tensor. Received type: <class 'keras.layers.merge.Concatenate'>. Full input: [<keras.layers.merge.Concatenate object at 0x00000168E176FB70>]. All inputs to the layer should be tensors.
|
80
|
+
|
81
|
+
```
|
82
|
+
|
25
83
|
```Python
|
26
84
|
|
27
85
|
import os
|