svhn_origin0-LR1-LR2-ARep3-ARep5.json 7.8 KB

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