svhn_origin0-LR1-ARep16.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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": "leakyrelu",
  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. 5,
  75. 5
  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": false,
  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. "Activation": [
  125. {
  126. "trainable": true,
  127. "activation": "relu"
  128. }
  129. ],
  130. "Flatten": [
  131. {
  132. "trainable": true,
  133. "data_format": "channels_last"
  134. }
  135. ],
  136. "Dense": [
  137. {
  138. "trainable": true,
  139. "activation": "relu",
  140. "use_bias": true,
  141. "kernel_initializer": {
  142. "class_name": "VarianceScaling",
  143. "config": {
  144. "scale": 1.0,
  145. "mode": "fan_avg",
  146. "distribution": "uniform",
  147. "seed": null
  148. }
  149. },
  150. "bias_initializer": {
  151. "class_name": "Zeros",
  152. "config": {}
  153. },
  154. "kernel_regularizer": "None",
  155. "bias_regularizer": "None",
  156. "activity_regularizer": "None",
  157. "kernel_constraint": "None",
  158. "bias_constraint": "None"
  159. },
  160. {
  161. "trainable": true,
  162. "activation": "softmax",
  163. "use_bias": true,
  164. "kernel_initializer": {
  165. "class_name": "VarianceScaling",
  166. "config": {
  167. "scale": 1.0,
  168. "mode": "fan_avg",
  169. "distribution": "uniform",
  170. "seed": null
  171. }
  172. },
  173. "bias_initializer": {
  174. "class_name": "Zeros",
  175. "config": {}
  176. },
  177. "kernel_regularizer": "None",
  178. "bias_regularizer": "None",
  179. "activity_regularizer": "None",
  180. "kernel_constraint": "None",
  181. "bias_constraint": "None"
  182. }
  183. ]
  184. },
  185. "layer_input_info": {
  186. "Conv2D": {
  187. "input_dims": [
  188. 4
  189. ],
  190. "dtype": [
  191. "float32"
  192. ],
  193. "shape": [
  194. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  195. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  196. ]
  197. },
  198. "MaxPooling2D": {
  199. "input_dims": [
  200. 4
  201. ],
  202. "dtype": [
  203. "float32"
  204. ],
  205. "shape": [
  206. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  207. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  208. ]
  209. },
  210. "Activation": {
  211. "input_dims": [
  212. 4
  213. ],
  214. "dtype": [
  215. "float32"
  216. ],
  217. "shape": [
  218. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  219. ]
  220. },
  221. "Flatten": {
  222. "input_dims": [
  223. 4
  224. ],
  225. "dtype": [
  226. "float32"
  227. ],
  228. "shape": [
  229. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  230. ]
  231. },
  232. "Dense": {
  233. "input_dims": [
  234. 2
  235. ],
  236. "dtype": [
  237. "float32"
  238. ],
  239. "shape": [
  240. "[Dimension(None), Dimension(None)]",
  241. "[Dimension(None), Dimension(120)]",
  242. "[Dimension(None), Dimension(84)]"
  243. ]
  244. }
  245. },
  246. "layer_num": 9,
  247. "layer_type": [
  248. "Conv2D",
  249. "MaxPooling2D",
  250. "Activation",
  251. "Flatten",
  252. "Dense"
  253. ],
  254. "cur_edge_num": 9,
  255. "layer_dims": {
  256. "Conv2D": {
  257. "input_dims": [
  258. 4
  259. ],
  260. "output_dims": [
  261. 4
  262. ]
  263. },
  264. "MaxPooling2D": {
  265. "input_dims": [
  266. 4
  267. ],
  268. "output_dims": [
  269. 4
  270. ]
  271. },
  272. "Activation": {
  273. "input_dims": [
  274. 4
  275. ],
  276. "output_dims": [
  277. 4
  278. ]
  279. },
  280. "Flatten": {
  281. "input_dims": [
  282. 4
  283. ],
  284. "output_dims": [
  285. 2
  286. ]
  287. },
  288. "Dense": {
  289. "input_dims": [
  290. 2
  291. ],
  292. "output_dims": [
  293. 2
  294. ]
  295. }
  296. }
  297. }