svhn_origin0-LR1-LR2-ARep3-NS5.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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": "linear",
  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. "MaxPooling2D": [
  65. {
  66. "trainable": true,
  67. "pool_size": [
  68. 2,
  69. 2
  70. ],
  71. "padding": "valid",
  72. "strides": [
  73. 2,
  74. 2
  75. ],
  76. "data_format": "channels_last"
  77. }
  78. ],
  79. "Flatten": [
  80. {
  81. "trainable": true,
  82. "data_format": "channels_last"
  83. }
  84. ],
  85. "Dense": [
  86. {
  87. "trainable": true,
  88. "activation": "leakyrelu",
  89. "use_bias": true,
  90. "kernel_initializer": {
  91. "class_name": "VarianceScaling",
  92. "config": {
  93. "scale": 1.0,
  94. "mode": "fan_avg",
  95. "distribution": "uniform",
  96. "seed": null
  97. }
  98. },
  99. "bias_initializer": {
  100. "class_name": "Zeros",
  101. "config": {}
  102. },
  103. "kernel_regularizer": "None",
  104. "bias_regularizer": "None",
  105. "activity_regularizer": "None",
  106. "kernel_constraint": "None",
  107. "bias_constraint": "None"
  108. },
  109. {
  110. "trainable": true,
  111. "activation": "relu",
  112. "use_bias": true,
  113. "kernel_initializer": {
  114. "class_name": "VarianceScaling",
  115. "config": {
  116. "scale": 1.0,
  117. "mode": "fan_avg",
  118. "distribution": "uniform",
  119. "seed": null
  120. }
  121. },
  122. "bias_initializer": {
  123. "class_name": "Zeros",
  124. "config": {}
  125. },
  126. "kernel_regularizer": "None",
  127. "bias_regularizer": "None",
  128. "activity_regularizer": "None",
  129. "kernel_constraint": "None",
  130. "bias_constraint": "None"
  131. },
  132. {
  133. "trainable": true,
  134. "activation": "softmax",
  135. "use_bias": true,
  136. "kernel_initializer": {
  137. "class_name": "VarianceScaling",
  138. "config": {
  139. "scale": 1.0,
  140. "mode": "fan_avg",
  141. "distribution": "uniform",
  142. "seed": null
  143. }
  144. },
  145. "bias_initializer": {
  146. "class_name": "Zeros",
  147. "config": {}
  148. },
  149. "kernel_regularizer": "None",
  150. "bias_regularizer": "None",
  151. "activity_regularizer": "None",
  152. "kernel_constraint": "None",
  153. "bias_constraint": "None"
  154. }
  155. ]
  156. },
  157. "layer_input_info": {
  158. "Conv2D": {
  159. "input_dims": [
  160. 4
  161. ],
  162. "dtype": [
  163. "float32"
  164. ],
  165. "shape": [
  166. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  167. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  168. ]
  169. },
  170. "MaxPooling2D": {
  171. "input_dims": [
  172. 4
  173. ],
  174. "dtype": [
  175. "float32"
  176. ],
  177. "shape": [
  178. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  179. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  180. ]
  181. },
  182. "Flatten": {
  183. "input_dims": [
  184. 4
  185. ],
  186. "dtype": [
  187. "float32"
  188. ],
  189. "shape": [
  190. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  191. ]
  192. },
  193. "Dense": {
  194. "input_dims": [
  195. 2
  196. ],
  197. "dtype": [
  198. "float32"
  199. ],
  200. "shape": [
  201. "[Dimension(None), Dimension(None)]",
  202. "[Dimension(None), Dimension(120)]",
  203. "[Dimension(None), Dimension(84)]"
  204. ]
  205. }
  206. },
  207. "layer_num": 8,
  208. "layer_type": [
  209. "Conv2D",
  210. "MaxPooling2D",
  211. "Flatten",
  212. "Dense"
  213. ],
  214. "cur_edge_num": 8,
  215. "layer_dims": {
  216. "Conv2D": {
  217. "input_dims": [
  218. 4
  219. ],
  220. "output_dims": [
  221. 4
  222. ]
  223. },
  224. "MaxPooling2D": {
  225. "input_dims": [
  226. 4
  227. ],
  228. "output_dims": [
  229. 4
  230. ]
  231. },
  232. "Flatten": {
  233. "input_dims": [
  234. 4
  235. ],
  236. "output_dims": [
  237. 2
  238. ]
  239. },
  240. "Dense": {
  241. "input_dims": [
  242. 2
  243. ],
  244. "output_dims": [
  245. 2
  246. ]
  247. }
  248. }
  249. }