svhn_origin0-LR1-LR2-MLA5.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. {
  2. "edges": [
  3. [
  4. "Conv2D",
  5. "MaxPooling2D"
  6. ],
  7. [
  8. "MaxPooling2D",
  9. "Conv2D"
  10. ],
  11. [
  12. "Conv2D",
  13. "ZeroPadding2D"
  14. ],
  15. [
  16. "ZeroPadding2D",
  17. "Conv2D"
  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. "trainable": true,
  73. "kernel_size": [
  74. 3,
  75. 3
  76. ],
  77. "strides": [
  78. 1,
  79. 1
  80. ],
  81. "padding": "valid",
  82. "data_format": "channels_last",
  83. "dilation_rate": [
  84. 1,
  85. 1
  86. ],
  87. "activation": "linear",
  88. "use_bias": true,
  89. "kernel_initializer": {
  90. "class_name": "VarianceScaling",
  91. "config": {
  92. "scale": 1.0,
  93. "mode": "fan_avg",
  94. "distribution": "uniform",
  95. "seed": null
  96. }
  97. },
  98. "bias_initializer": {
  99. "class_name": "Zeros",
  100. "config": {}
  101. },
  102. "kernel_regularizer": "None",
  103. "bias_regularizer": "None",
  104. "activity_regularizer": "None",
  105. "kernel_constraint": "None",
  106. "bias_constraint": "None"
  107. }
  108. ],
  109. "MaxPooling2D": [
  110. {
  111. "trainable": true,
  112. "pool_size": [
  113. 2,
  114. 2
  115. ],
  116. "padding": "valid",
  117. "strides": [
  118. 2,
  119. 2
  120. ],
  121. "data_format": "channels_last"
  122. }
  123. ],
  124. "ZeroPadding2D": [
  125. {
  126. "trainable": true,
  127. "padding": [
  128. [
  129. 1,
  130. 1
  131. ],
  132. [
  133. 1,
  134. 1
  135. ]
  136. ],
  137. "data_format": "channels_last"
  138. }
  139. ],
  140. "Flatten": [
  141. {
  142. "trainable": true,
  143. "data_format": "channels_last"
  144. }
  145. ],
  146. "Dense": [
  147. {
  148. "trainable": true,
  149. "activation": "relu",
  150. "use_bias": true,
  151. "kernel_initializer": {
  152. "class_name": "VarianceScaling",
  153. "config": {
  154. "scale": 1.0,
  155. "mode": "fan_avg",
  156. "distribution": "uniform",
  157. "seed": null
  158. }
  159. },
  160. "bias_initializer": {
  161. "class_name": "Zeros",
  162. "config": {}
  163. },
  164. "kernel_regularizer": "None",
  165. "bias_regularizer": "None",
  166. "activity_regularizer": "None",
  167. "kernel_constraint": "None",
  168. "bias_constraint": "None"
  169. },
  170. {
  171. "trainable": true,
  172. "activation": "softmax",
  173. "use_bias": true,
  174. "kernel_initializer": {
  175. "class_name": "VarianceScaling",
  176. "config": {
  177. "scale": 1.0,
  178. "mode": "fan_avg",
  179. "distribution": "uniform",
  180. "seed": null
  181. }
  182. },
  183. "bias_initializer": {
  184. "class_name": "Zeros",
  185. "config": {}
  186. },
  187. "kernel_regularizer": "None",
  188. "bias_regularizer": "None",
  189. "activity_regularizer": "None",
  190. "kernel_constraint": "None",
  191. "bias_constraint": "None"
  192. }
  193. ]
  194. },
  195. "layer_input_info": {
  196. "Conv2D": {
  197. "input_dims": [
  198. 4
  199. ],
  200. "dtype": [
  201. "float32"
  202. ],
  203. "shape": [
  204. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  205. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]",
  206. "[Dimension(None), Dimension(12), Dimension(12), Dimension(16)]"
  207. ]
  208. },
  209. "MaxPooling2D": {
  210. "input_dims": [
  211. 4
  212. ],
  213. "dtype": [
  214. "float32"
  215. ],
  216. "shape": [
  217. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  218. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  219. ]
  220. },
  221. "ZeroPadding2D": {
  222. "input_dims": [
  223. 4
  224. ],
  225. "dtype": [
  226. "float32"
  227. ],
  228. "shape": [
  229. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  230. ]
  231. },
  232. "Flatten": {
  233. "input_dims": [
  234. 4
  235. ],
  236. "dtype": [
  237. "float32"
  238. ],
  239. "shape": [
  240. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  241. ]
  242. },
  243. "Dense": {
  244. "input_dims": [
  245. 2
  246. ],
  247. "dtype": [
  248. "float32"
  249. ],
  250. "shape": [
  251. "[Dimension(None), Dimension(None)]",
  252. "[Dimension(None), Dimension(120)]",
  253. "[Dimension(None), Dimension(84)]"
  254. ]
  255. }
  256. },
  257. "layer_num": 10,
  258. "layer_type": [
  259. "Conv2D",
  260. "MaxPooling2D",
  261. "ZeroPadding2D",
  262. "Flatten",
  263. "Dense"
  264. ],
  265. "cur_edge_num": 10,
  266. "layer_dims": {
  267. "Conv2D": {
  268. "input_dims": [
  269. 4
  270. ],
  271. "output_dims": [
  272. 4
  273. ]
  274. },
  275. "MaxPooling2D": {
  276. "input_dims": [
  277. 4
  278. ],
  279. "output_dims": [
  280. 4
  281. ]
  282. },
  283. "ZeroPadding2D": {
  284. "input_dims": [
  285. 4
  286. ],
  287. "output_dims": [
  288. 4
  289. ]
  290. },
  291. "Flatten": {
  292. "input_dims": [
  293. 4
  294. ],
  295. "output_dims": [
  296. 2
  297. ]
  298. },
  299. "Dense": {
  300. "input_dims": [
  301. 2
  302. ],
  303. "output_dims": [
  304. 2
  305. ]
  306. }
  307. }
  308. }