svhn_origin0-LR1-LR2-ARem7.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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": "no_activation",
  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": "relu",
  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": "softmax",
  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. },
  171. "layer_input_info": {
  172. "Conv2D": {
  173. "input_dims": [
  174. 4
  175. ],
  176. "dtype": [
  177. "float32"
  178. ],
  179. "shape": [
  180. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  181. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  182. ]
  183. },
  184. "MaxPooling2D": {
  185. "input_dims": [
  186. 4
  187. ],
  188. "dtype": [
  189. "float32"
  190. ],
  191. "shape": [
  192. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  193. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  194. ]
  195. },
  196. "Flatten": {
  197. "input_dims": [
  198. 4
  199. ],
  200. "dtype": [
  201. "float32"
  202. ],
  203. "shape": [
  204. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  205. ]
  206. },
  207. "Dense": {
  208. "input_dims": [
  209. 2
  210. ],
  211. "dtype": [
  212. "float32"
  213. ],
  214. "shape": [
  215. "[Dimension(None), Dimension(None)]",
  216. "[Dimension(None), Dimension(120)]",
  217. "[Dimension(None), Dimension(84)]"
  218. ]
  219. }
  220. },
  221. "layer_num": 8,
  222. "layer_type": [
  223. "Conv2D",
  224. "MaxPooling2D",
  225. "Flatten",
  226. "Dense"
  227. ],
  228. "cur_edge_num": 8,
  229. "layer_dims": {
  230. "Conv2D": {
  231. "input_dims": [
  232. 4
  233. ],
  234. "output_dims": [
  235. 4
  236. ]
  237. },
  238. "MaxPooling2D": {
  239. "input_dims": [
  240. 4
  241. ],
  242. "output_dims": [
  243. 4
  244. ]
  245. },
  246. "Flatten": {
  247. "input_dims": [
  248. 4
  249. ],
  250. "output_dims": [
  251. 2
  252. ]
  253. },
  254. "Dense": {
  255. "input_dims": [
  256. 2
  257. ],
  258. "output_dims": [
  259. 2
  260. ]
  261. }
  262. }
  263. }