svhn_origin0-MLA4.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. {
  2. "edges": [
  3. [
  4. "Conv2D",
  5. "Activation"
  6. ],
  7. [
  8. "Activation",
  9. "MaxPooling2D"
  10. ],
  11. [
  12. "MaxPooling2D",
  13. "Conv2D"
  14. ],
  15. [
  16. "Activation",
  17. "ZeroPadding2D"
  18. ],
  19. [
  20. "ZeroPadding2D",
  21. "Conv2D"
  22. ],
  23. [
  24. "Conv2D",
  25. "MaxPooling2D"
  26. ],
  27. [
  28. "MaxPooling2D",
  29. "Flatten"
  30. ],
  31. [
  32. "Flatten",
  33. "Dense"
  34. ],
  35. [
  36. "Dense",
  37. "Dense"
  38. ]
  39. ],
  40. "layer_config": {
  41. "Conv2D": [
  42. {
  43. "trainable": true,
  44. "kernel_size": [
  45. 5,
  46. 5
  47. ],
  48. "strides": [
  49. 1,
  50. 1
  51. ],
  52. "padding": "valid",
  53. "data_format": "channels_last",
  54. "dilation_rate": [
  55. 1,
  56. 1
  57. ],
  58. "activation": "linear",
  59. "use_bias": false,
  60. "kernel_initializer": {
  61. "class_name": "VarianceScaling",
  62. "config": {
  63. "scale": 1.0,
  64. "mode": "fan_avg",
  65. "distribution": "uniform",
  66. "seed": null
  67. }
  68. },
  69. "bias_initializer": {
  70. "class_name": "Zeros",
  71. "config": {}
  72. },
  73. "kernel_regularizer": "None",
  74. "bias_regularizer": "None",
  75. "activity_regularizer": "None",
  76. "kernel_constraint": "None",
  77. "bias_constraint": "None"
  78. },
  79. {
  80. "trainable": true,
  81. "kernel_size": [
  82. 3,
  83. 3
  84. ],
  85. "strides": [
  86. 1,
  87. 1
  88. ],
  89. "padding": "valid",
  90. "data_format": "channels_last",
  91. "dilation_rate": [
  92. 1,
  93. 1
  94. ],
  95. "activation": "linear",
  96. "use_bias": true,
  97. "kernel_initializer": {
  98. "class_name": "VarianceScaling",
  99. "config": {
  100. "scale": 1.0,
  101. "mode": "fan_avg",
  102. "distribution": "uniform",
  103. "seed": null
  104. }
  105. },
  106. "bias_initializer": {
  107. "class_name": "Zeros",
  108. "config": {}
  109. },
  110. "kernel_regularizer": "None",
  111. "bias_regularizer": "None",
  112. "activity_regularizer": "None",
  113. "kernel_constraint": "None",
  114. "bias_constraint": "None"
  115. }
  116. ],
  117. "Activation": [
  118. {
  119. "trainable": true,
  120. "activation": "relu"
  121. }
  122. ],
  123. "MaxPooling2D": [
  124. {
  125. "trainable": true,
  126. "pool_size": [
  127. 2,
  128. 2
  129. ],
  130. "padding": "valid",
  131. "strides": [
  132. 2,
  133. 2
  134. ],
  135. "data_format": "channels_last"
  136. }
  137. ],
  138. "ZeroPadding2D": [
  139. {
  140. "trainable": true,
  141. "padding": [
  142. [
  143. 1,
  144. 1
  145. ],
  146. [
  147. 1,
  148. 1
  149. ]
  150. ],
  151. "data_format": "channels_last"
  152. }
  153. ],
  154. "Flatten": [
  155. {
  156. "trainable": true,
  157. "data_format": "channels_last"
  158. }
  159. ],
  160. "Dense": [
  161. {
  162. "trainable": true,
  163. "activation": "relu",
  164. "use_bias": true,
  165. "kernel_initializer": {
  166. "class_name": "VarianceScaling",
  167. "config": {
  168. "scale": 1.0,
  169. "mode": "fan_avg",
  170. "distribution": "uniform",
  171. "seed": null
  172. }
  173. },
  174. "bias_initializer": {
  175. "class_name": "Zeros",
  176. "config": {}
  177. },
  178. "kernel_regularizer": "None",
  179. "bias_regularizer": "None",
  180. "activity_regularizer": "None",
  181. "kernel_constraint": "None",
  182. "bias_constraint": "None"
  183. },
  184. {
  185. "trainable": true,
  186. "activation": "softmax",
  187. "use_bias": true,
  188. "kernel_initializer": {
  189. "class_name": "VarianceScaling",
  190. "config": {
  191. "scale": 1.0,
  192. "mode": "fan_avg",
  193. "distribution": "uniform",
  194. "seed": null
  195. }
  196. },
  197. "bias_initializer": {
  198. "class_name": "Zeros",
  199. "config": {}
  200. },
  201. "kernel_regularizer": "None",
  202. "bias_regularizer": "None",
  203. "activity_regularizer": "None",
  204. "kernel_constraint": "None",
  205. "bias_constraint": "None"
  206. }
  207. ]
  208. },
  209. "layer_input_info": {
  210. "Conv2D": {
  211. "input_dims": [
  212. 4
  213. ],
  214. "dtype": [
  215. "float32"
  216. ],
  217. "shape": [
  218. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  219. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]",
  220. "[Dimension(None), Dimension(12), Dimension(12), Dimension(16)]"
  221. ]
  222. },
  223. "Activation": {
  224. "input_dims": [
  225. 4
  226. ],
  227. "dtype": [
  228. "float32"
  229. ],
  230. "shape": [
  231. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  232. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  233. ]
  234. },
  235. "MaxPooling2D": {
  236. "input_dims": [
  237. 4
  238. ],
  239. "dtype": [
  240. "float32"
  241. ],
  242. "shape": [
  243. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  244. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  245. ]
  246. },
  247. "ZeroPadding2D": {
  248. "input_dims": [
  249. 4
  250. ],
  251. "dtype": [
  252. "float32"
  253. ],
  254. "shape": [
  255. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  256. ]
  257. },
  258. "Flatten": {
  259. "input_dims": [
  260. 4
  261. ],
  262. "dtype": [
  263. "float32"
  264. ],
  265. "shape": [
  266. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  267. ]
  268. },
  269. "Dense": {
  270. "input_dims": [
  271. 2
  272. ],
  273. "dtype": [
  274. "float32"
  275. ],
  276. "shape": [
  277. "[Dimension(None), Dimension(None)]",
  278. "[Dimension(None), Dimension(120)]",
  279. "[Dimension(None), Dimension(84)]"
  280. ]
  281. }
  282. },
  283. "layer_num": 12,
  284. "layer_type": [
  285. "Conv2D",
  286. "Activation",
  287. "MaxPooling2D",
  288. "ZeroPadding2D",
  289. "Flatten",
  290. "Dense"
  291. ],
  292. "cur_edge_num": 12,
  293. "layer_dims": {
  294. "Conv2D": {
  295. "input_dims": [
  296. 4
  297. ],
  298. "output_dims": [
  299. 4
  300. ]
  301. },
  302. "Activation": {
  303. "input_dims": [
  304. 4
  305. ],
  306. "output_dims": [
  307. 4
  308. ]
  309. },
  310. "MaxPooling2D": {
  311. "input_dims": [
  312. 4
  313. ],
  314. "output_dims": [
  315. 4
  316. ]
  317. },
  318. "ZeroPadding2D": {
  319. "input_dims": [
  320. 4
  321. ],
  322. "output_dims": [
  323. 4
  324. ]
  325. },
  326. "Flatten": {
  327. "input_dims": [
  328. 4
  329. ],
  330. "output_dims": [
  331. 2
  332. ]
  333. },
  334. "Dense": {
  335. "input_dims": [
  336. 2
  337. ],
  338. "output_dims": [
  339. 2
  340. ]
  341. }
  342. }
  343. }