svhn_origin0-LR1-LR2-ARep3-MLA7.json 9.5 KB

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