svhn_origin0-LR1-GF12.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. {
  2. "edges": [
  3. [
  4. "Conv2D",
  5. "MaxPooling2D"
  6. ],
  7. [
  8. "MaxPooling2D",
  9. "Conv2D"
  10. ],
  11. [
  12. "Conv2D",
  13. "Activation"
  14. ],
  15. [
  16. "Activation",
  17. "MaxPooling2D"
  18. ],
  19. [
  20. "MaxPooling2D",
  21. "Flatten"
  22. ],
  23. [
  24. "Flatten",
  25. "Dense"
  26. ],
  27. [
  28. "Dense",
  29. "Dense"
  30. ]
  31. ],
  32. "layer_config": {
  33. "Conv2D": [
  34. {
  35. "trainable": true,
  36. "kernel_size": [
  37. 5,
  38. 5
  39. ],
  40. "strides": [
  41. 1,
  42. 1
  43. ],
  44. "padding": "valid",
  45. "data_format": "channels_last",
  46. "dilation_rate": [
  47. 1,
  48. 1
  49. ],
  50. "activation": "linear",
  51. "use_bias": false,
  52. "kernel_initializer": {
  53. "class_name": "VarianceScaling",
  54. "config": {
  55. "scale": 1.0,
  56. "mode": "fan_avg",
  57. "distribution": "uniform",
  58. "seed": null
  59. }
  60. },
  61. "bias_initializer": {
  62. "class_name": "Zeros",
  63. "config": {}
  64. },
  65. "kernel_regularizer": "None",
  66. "bias_regularizer": "None",
  67. "activity_regularizer": "None",
  68. "kernel_constraint": "None",
  69. "bias_constraint": "None"
  70. }
  71. ],
  72. "MaxPooling2D": [
  73. {
  74. "trainable": true,
  75. "pool_size": [
  76. 2,
  77. 2
  78. ],
  79. "padding": "valid",
  80. "strides": [
  81. 2,
  82. 2
  83. ],
  84. "data_format": "channels_last"
  85. }
  86. ],
  87. "Activation": [
  88. {
  89. "trainable": true,
  90. "activation": "relu"
  91. }
  92. ],
  93. "Flatten": [
  94. {
  95. "trainable": true,
  96. "data_format": "channels_last"
  97. }
  98. ],
  99. "Dense": [
  100. {
  101. "trainable": true,
  102. "activation": "relu",
  103. "use_bias": true,
  104. "kernel_initializer": {
  105. "class_name": "VarianceScaling",
  106. "config": {
  107. "scale": 1.0,
  108. "mode": "fan_avg",
  109. "distribution": "uniform",
  110. "seed": null
  111. }
  112. },
  113. "bias_initializer": {
  114. "class_name": "Zeros",
  115. "config": {}
  116. },
  117. "kernel_regularizer": "None",
  118. "bias_regularizer": "None",
  119. "activity_regularizer": "None",
  120. "kernel_constraint": "None",
  121. "bias_constraint": "None"
  122. },
  123. {
  124. "trainable": true,
  125. "activation": "softmax",
  126. "use_bias": true,
  127. "kernel_initializer": {
  128. "class_name": "VarianceScaling",
  129. "config": {
  130. "scale": 1.0,
  131. "mode": "fan_avg",
  132. "distribution": "uniform",
  133. "seed": null
  134. }
  135. },
  136. "bias_initializer": {
  137. "class_name": "Zeros",
  138. "config": {}
  139. },
  140. "kernel_regularizer": "None",
  141. "bias_regularizer": "None",
  142. "activity_regularizer": "None",
  143. "kernel_constraint": "None",
  144. "bias_constraint": "None"
  145. }
  146. ]
  147. },
  148. "layer_input_info": {
  149. "Conv2D": {
  150. "input_dims": [
  151. 4
  152. ],
  153. "dtype": [
  154. "float32"
  155. ],
  156. "shape": [
  157. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  158. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  159. ]
  160. },
  161. "MaxPooling2D": {
  162. "input_dims": [
  163. 4
  164. ],
  165. "dtype": [
  166. "float32"
  167. ],
  168. "shape": [
  169. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  170. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  171. ]
  172. },
  173. "Activation": {
  174. "input_dims": [
  175. 4
  176. ],
  177. "dtype": [
  178. "float32"
  179. ],
  180. "shape": [
  181. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  182. ]
  183. },
  184. "Flatten": {
  185. "input_dims": [
  186. 4
  187. ],
  188. "dtype": [
  189. "float32"
  190. ],
  191. "shape": [
  192. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  193. ]
  194. },
  195. "Dense": {
  196. "input_dims": [
  197. 2
  198. ],
  199. "dtype": [
  200. "float32"
  201. ],
  202. "shape": [
  203. "[Dimension(None), Dimension(None)]",
  204. "[Dimension(None), Dimension(120)]",
  205. "[Dimension(None), Dimension(84)]"
  206. ]
  207. }
  208. },
  209. "layer_num": 9,
  210. "layer_type": [
  211. "Conv2D",
  212. "MaxPooling2D",
  213. "Activation",
  214. "Flatten",
  215. "Dense"
  216. ],
  217. "cur_edge_num": 9,
  218. "layer_dims": {
  219. "Conv2D": {
  220. "input_dims": [
  221. 4
  222. ],
  223. "output_dims": [
  224. 4
  225. ]
  226. },
  227. "MaxPooling2D": {
  228. "input_dims": [
  229. 4
  230. ],
  231. "output_dims": [
  232. 4
  233. ]
  234. },
  235. "Activation": {
  236. "input_dims": [
  237. 4
  238. ],
  239. "output_dims": [
  240. 4
  241. ]
  242. },
  243. "Flatten": {
  244. "input_dims": [
  245. 4
  246. ],
  247. "output_dims": [
  248. 2
  249. ]
  250. },
  251. "Dense": {
  252. "input_dims": [
  253. 2
  254. ],
  255. "output_dims": [
  256. 2
  257. ]
  258. }
  259. }
  260. }