svhn_origin0-LR1-LA4.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. {
  2. "edges": [
  3. [
  4. "Conv2D",
  5. "MaxPooling2D"
  6. ],
  7. [
  8. "MaxPooling2D",
  9. "Conv2D"
  10. ],
  11. [
  12. "Conv2D",
  13. "SeparableConv2D"
  14. ],
  15. [
  16. "SeparableConv2D",
  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. "SeparableConv2D": [
  92. {
  93. "trainable": true,
  94. "kernel_size": [
  95. 3,
  96. 3
  97. ],
  98. "strides": [
  99. 1,
  100. 1
  101. ],
  102. "padding": "same",
  103. "data_format": "channels_last",
  104. "dilation_rate": [
  105. 1,
  106. 1
  107. ],
  108. "activation": "linear",
  109. "use_bias": true,
  110. "bias_initializer": {
  111. "class_name": "Zeros",
  112. "config": {}
  113. },
  114. "bias_regularizer": "None",
  115. "activity_regularizer": "None",
  116. "bias_constraint": "None",
  117. "depth_multiplier": 1,
  118. "depthwise_initializer": {
  119. "class_name": "VarianceScaling",
  120. "config": {
  121. "scale": 1.0,
  122. "mode": "fan_avg",
  123. "distribution": "uniform",
  124. "seed": null
  125. }
  126. },
  127. "pointwise_initializer": {
  128. "class_name": "VarianceScaling",
  129. "config": {
  130. "scale": 1.0,
  131. "mode": "fan_avg",
  132. "distribution": "uniform",
  133. "seed": null
  134. }
  135. },
  136. "depthwise_regularizer": "None",
  137. "pointwise_regularizer": "None",
  138. "depthwise_constraint": "None",
  139. "pointwise_constraint": "None"
  140. }
  141. ],
  142. "Activation": [
  143. {
  144. "trainable": true,
  145. "activation": "relu"
  146. }
  147. ],
  148. "Flatten": [
  149. {
  150. "trainable": true,
  151. "data_format": "channels_last"
  152. }
  153. ],
  154. "Dense": [
  155. {
  156. "trainable": true,
  157. "activation": "relu",
  158. "use_bias": true,
  159. "kernel_initializer": {
  160. "class_name": "VarianceScaling",
  161. "config": {
  162. "scale": 1.0,
  163. "mode": "fan_avg",
  164. "distribution": "uniform",
  165. "seed": null
  166. }
  167. },
  168. "bias_initializer": {
  169. "class_name": "Zeros",
  170. "config": {}
  171. },
  172. "kernel_regularizer": "None",
  173. "bias_regularizer": "None",
  174. "activity_regularizer": "None",
  175. "kernel_constraint": "None",
  176. "bias_constraint": "None"
  177. },
  178. {
  179. "trainable": true,
  180. "activation": "softmax",
  181. "use_bias": true,
  182. "kernel_initializer": {
  183. "class_name": "VarianceScaling",
  184. "config": {
  185. "scale": 1.0,
  186. "mode": "fan_avg",
  187. "distribution": "uniform",
  188. "seed": null
  189. }
  190. },
  191. "bias_initializer": {
  192. "class_name": "Zeros",
  193. "config": {}
  194. },
  195. "kernel_regularizer": "None",
  196. "bias_regularizer": "None",
  197. "activity_regularizer": "None",
  198. "kernel_constraint": "None",
  199. "bias_constraint": "None"
  200. }
  201. ]
  202. },
  203. "layer_input_info": {
  204. "Conv2D": {
  205. "input_dims": [
  206. 4
  207. ],
  208. "dtype": [
  209. "float32"
  210. ],
  211. "shape": [
  212. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  213. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  214. ]
  215. },
  216. "MaxPooling2D": {
  217. "input_dims": [
  218. 4
  219. ],
  220. "dtype": [
  221. "float32"
  222. ],
  223. "shape": [
  224. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  225. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  226. ]
  227. },
  228. "SeparableConv2D": {
  229. "input_dims": [
  230. 4
  231. ],
  232. "dtype": [
  233. "float32"
  234. ],
  235. "shape": [
  236. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  237. ]
  238. },
  239. "Activation": {
  240. "input_dims": [
  241. 4
  242. ],
  243. "dtype": [
  244. "float32"
  245. ],
  246. "shape": [
  247. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  248. ]
  249. },
  250. "Flatten": {
  251. "input_dims": [
  252. 4
  253. ],
  254. "dtype": [
  255. "float32"
  256. ],
  257. "shape": [
  258. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  259. ]
  260. },
  261. "Dense": {
  262. "input_dims": [
  263. 2
  264. ],
  265. "dtype": [
  266. "float32"
  267. ],
  268. "shape": [
  269. "[Dimension(None), Dimension(None)]",
  270. "[Dimension(None), Dimension(120)]",
  271. "[Dimension(None), Dimension(84)]"
  272. ]
  273. }
  274. },
  275. "layer_num": 10,
  276. "layer_type": [
  277. "Conv2D",
  278. "MaxPooling2D",
  279. "SeparableConv2D",
  280. "Activation",
  281. "Flatten",
  282. "Dense"
  283. ],
  284. "cur_edge_num": 10,
  285. "layer_dims": {
  286. "Conv2D": {
  287. "input_dims": [
  288. 4
  289. ],
  290. "output_dims": [
  291. 4
  292. ]
  293. },
  294. "MaxPooling2D": {
  295. "input_dims": [
  296. 4
  297. ],
  298. "output_dims": [
  299. 4
  300. ]
  301. },
  302. "SeparableConv2D": {
  303. "input_dims": [
  304. 4
  305. ],
  306. "output_dims": [
  307. 4
  308. ]
  309. },
  310. "Activation": {
  311. "input_dims": [
  312. 4
  313. ],
  314. "output_dims": [
  315. 4
  316. ]
  317. },
  318. "Flatten": {
  319. "input_dims": [
  320. 4
  321. ],
  322. "output_dims": [
  323. 2
  324. ]
  325. },
  326. "Dense": {
  327. "input_dims": [
  328. 2
  329. ],
  330. "output_dims": [
  331. 2
  332. ]
  333. }
  334. }
  335. }