svhn_origin0-LR1-LR2-NAI4.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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": "relu",
  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": "softmax",
  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. },
  134. "layer_input_info": {
  135. "Conv2D": {
  136. "input_dims": [
  137. 4
  138. ],
  139. "dtype": [
  140. "float32"
  141. ],
  142. "shape": [
  143. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  144. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  145. ]
  146. },
  147. "MaxPooling2D": {
  148. "input_dims": [
  149. 4
  150. ],
  151. "dtype": [
  152. "float32"
  153. ],
  154. "shape": [
  155. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  156. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  157. ]
  158. },
  159. "Flatten": {
  160. "input_dims": [
  161. 4
  162. ],
  163. "dtype": [
  164. "float32"
  165. ],
  166. "shape": [
  167. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  168. ]
  169. },
  170. "Dense": {
  171. "input_dims": [
  172. 2
  173. ],
  174. "dtype": [
  175. "float32"
  176. ],
  177. "shape": [
  178. "[Dimension(None), Dimension(None)]",
  179. "[Dimension(None), Dimension(120)]",
  180. "[Dimension(None), Dimension(84)]"
  181. ]
  182. }
  183. },
  184. "layer_num": 8,
  185. "layer_type": [
  186. "Conv2D",
  187. "MaxPooling2D",
  188. "Flatten",
  189. "Dense"
  190. ],
  191. "cur_edge_num": 8,
  192. "layer_dims": {
  193. "Conv2D": {
  194. "input_dims": [
  195. 4
  196. ],
  197. "output_dims": [
  198. 4
  199. ]
  200. },
  201. "MaxPooling2D": {
  202. "input_dims": [
  203. 4
  204. ],
  205. "output_dims": [
  206. 4
  207. ]
  208. },
  209. "Flatten": {
  210. "input_dims": [
  211. 4
  212. ],
  213. "output_dims": [
  214. 2
  215. ]
  216. },
  217. "Dense": {
  218. "input_dims": [
  219. 2
  220. ],
  221. "output_dims": [
  222. 2
  223. ]
  224. }
  225. }
  226. }