svhn_origin0-MLA1.json 9.1 KB

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