svhn_origin0-LR1-LC5.json 6.6 KB

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