Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.68 KB | None | 0 0
  1. >>> uff.from_tensorflow_frozen_model(GRAPH_PB_PATH,["output"])
  2. Using output node output
  3. Converting to UFF graph
  4. Warning: No conversion function registered for layer: Identity yet.
  5. Converting as custom op Identity output
  6. name: "output"
  7. op: "Identity"
  8. input: "BiasAdd_22"
  9. attr {
  10. key: "T"
  11. value {
  12. type: DT_FLOAT
  13. }
  14. }
  15.  
  16. Warning: No conversion function registered for layer: RealDiv yet.
  17. Converting as custom op RealDiv truediv_21
  18. name: "truediv_21"
  19. op: "RealDiv"
  20. input: "sub_21"
  21. input: "truediv_21/y"
  22. attr {
  23. key: "T"
  24. value {
  25. type: DT_FLOAT
  26. }
  27. }
  28.  
  29. Warning: No conversion function registered for layer: RealDiv yet.
  30. Converting as custom op RealDiv truediv_19
  31. name: "truediv_19"
  32. op: "RealDiv"
  33. input: "sub_19"
  34. input: "truediv_19/y"
  35. attr {
  36. key: "T"
  37. value {
  38. type: DT_FLOAT
  39. }
  40. }
  41.  
  42. Warning: No conversion function registered for layer: RealDiv yet.
  43. Converting as custom op RealDiv truediv_18
  44. name: "truediv_18"
  45. op: "RealDiv"
  46. input: "sub_18"
  47. input: "truediv_18/y"
  48. attr {
  49. key: "T"
  50. value {
  51. type: DT_FLOAT
  52. }
  53. }
  54.  
  55. Warning: No conversion function registered for layer: RealDiv yet.
  56. Converting as custom op RealDiv truediv_17
  57. name: "truediv_17"
  58. op: "RealDiv"
  59. input: "sub_17"
  60. input: "truediv_17/y"
  61. attr {
  62. key: "T"
  63. value {
  64. type: DT_FLOAT
  65. }
  66. }
  67.  
  68. Warning: No conversion function registered for layer: RealDiv yet.
  69. Converting as custom op RealDiv truediv_16
  70. name: "truediv_16"
  71. op: "RealDiv"
  72. input: "sub_16"
  73. input: "truediv_16/y"
  74. attr {
  75. key: "T"
  76. value {
  77. type: DT_FLOAT
  78. }
  79. }
  80.  
  81. Warning: No conversion function registered for layer: RealDiv yet.
  82. Converting as custom op RealDiv truediv_15
  83. name: "truediv_15"
  84. op: "RealDiv"
  85. input: "sub_15"
  86. input: "truediv_15/y"
  87. attr {
  88. key: "T"
  89. value {
  90. type: DT_FLOAT
  91. }
  92. }
  93.  
  94. Warning: No conversion function registered for layer: RealDiv yet.
  95. Converting as custom op RealDiv truediv_14
  96. name: "truediv_14"
  97. op: "RealDiv"
  98. input: "sub_14"
  99. input: "truediv_14/y"
  100. attr {
  101. key: "T"
  102. value {
  103. type: DT_FLOAT
  104. }
  105. }
  106.  
  107. Warning: No conversion function registered for layer: RealDiv yet.
  108. Converting as custom op RealDiv truediv_13
  109. name: "truediv_13"
  110. op: "RealDiv"
  111. input: "sub_13"
  112. input: "truediv_13/y"
  113. attr {
  114. key: "T"
  115. value {
  116. type: DT_FLOAT
  117. }
  118. }
  119.  
  120. Warning: No conversion function registered for layer: RealDiv yet.
  121. Converting as custom op RealDiv truediv_12
  122. name: "truediv_12"
  123. op: "RealDiv"
  124. input: "sub_12"
  125. input: "truediv_12/y"
  126. attr {
  127. key: "T"
  128. value {
  129. type: DT_FLOAT
  130. }
  131. }
  132.  
  133. Warning: No conversion function registered for layer: RealDiv yet.
  134. Converting as custom op RealDiv truediv_11
  135. name: "truediv_11"
  136. op: "RealDiv"
  137. input: "sub_11"
  138. input: "truediv_11/y"
  139. attr {
  140. key: "T"
  141. value {
  142. type: DT_FLOAT
  143. }
  144. }
  145.  
  146. Warning: No conversion function registered for layer: RealDiv yet.
  147. Converting as custom op RealDiv truediv_10
  148. name: "truediv_10"
  149. op: "RealDiv"
  150. input: "sub_10"
  151. input: "truediv_10/y"
  152. attr {
  153. key: "T"
  154. value {
  155. type: DT_FLOAT
  156. }
  157. }
  158.  
  159. Warning: No conversion function registered for layer: RealDiv yet.
  160. Converting as custom op RealDiv truediv_9
  161. name: "truediv_9"
  162. op: "RealDiv"
  163. input: "sub_9"
  164. input: "truediv_9/y"
  165. attr {
  166. key: "T"
  167. value {
  168. type: DT_FLOAT
  169. }
  170. }
  171.  
  172. Warning: No conversion function registered for layer: RealDiv yet.
  173. Converting as custom op RealDiv truediv_8
  174. name: "truediv_8"
  175. op: "RealDiv"
  176. input: "sub_8"
  177. input: "truediv_8/y"
  178. attr {
  179. key: "T"
  180. value {
  181. type: DT_FLOAT
  182. }
  183. }
  184.  
  185. Warning: No conversion function registered for layer: RealDiv yet.
  186. Converting as custom op RealDiv truediv_7
  187. name: "truediv_7"
  188. op: "RealDiv"
  189. input: "sub_7"
  190. input: "truediv_7/y"
  191. attr {
  192. key: "T"
  193. value {
  194. type: DT_FLOAT
  195. }
  196. }
  197.  
  198. Warning: No conversion function registered for layer: RealDiv yet.
  199. Converting as custom op RealDiv truediv_6
  200. name: "truediv_6"
  201. op: "RealDiv"
  202. input: "sub_6"
  203. input: "truediv_6/y"
  204. attr {
  205. key: "T"
  206. value {
  207. type: DT_FLOAT
  208. }
  209. }
  210.  
  211. Warning: No conversion function registered for layer: RealDiv yet.
  212. Converting as custom op RealDiv truediv_5
  213. name: "truediv_5"
  214. op: "RealDiv"
  215. input: "sub_5"
  216. input: "truediv_5/y"
  217. attr {
  218. key: "T"
  219. value {
  220. type: DT_FLOAT
  221. }
  222. }
  223.  
  224. Warning: No conversion function registered for layer: RealDiv yet.
  225. Converting as custom op RealDiv truediv_4
  226. name: "truediv_4"
  227. op: "RealDiv"
  228. input: "sub_4"
  229. input: "truediv_4/y"
  230. attr {
  231. key: "T"
  232. value {
  233. type: DT_FLOAT
  234. }
  235. }
  236.  
  237. Warning: No conversion function registered for layer: RealDiv yet.
  238. Converting as custom op RealDiv truediv_3
  239. name: "truediv_3"
  240. op: "RealDiv"
  241. input: "sub_3"
  242. input: "truediv_3/y"
  243. attr {
  244. key: "T"
  245. value {
  246. type: DT_FLOAT
  247. }
  248. }
  249.  
  250. Warning: No conversion function registered for layer: RealDiv yet.
  251. Converting as custom op RealDiv truediv_2
  252. name: "truediv_2"
  253. op: "RealDiv"
  254. input: "sub_2"
  255. input: "truediv_2/y"
  256. attr {
  257. key: "T"
  258. value {
  259. type: DT_FLOAT
  260. }
  261. }
  262.  
  263. Warning: No conversion function registered for layer: RealDiv yet.
  264. Converting as custom op RealDiv truediv_1
  265. name: "truediv_1"
  266. op: "RealDiv"
  267. input: "sub_1"
  268. input: "truediv_1/y"
  269. attr {
  270. key: "T"
  271. value {
  272. type: DT_FLOAT
  273. }
  274. }
  275.  
  276. Warning: No conversion function registered for layer: RealDiv yet.
  277. Converting as custom op RealDiv truediv
  278. name: "truediv"
  279. op: "RealDiv"
  280. input: "sub"
  281. input: "truediv/y"
  282. attr {
  283. key: "T"
  284. value {
  285. type: DT_FLOAT
  286. }
  287. }
  288.  
  289. Warning: No conversion function registered for layer: ExtractImagePatches yet.
  290. Converting as custom op ExtractImagePatches ExtractImagePatches
  291. name: "ExtractImagePatches"
  292. op: "ExtractImagePatches"
  293. input: "47-leaky"
  294. attr {
  295. key: "T"
  296. value {
  297. type: DT_FLOAT
  298. }
  299. }
  300. attr {
  301. key: "ksizes"
  302. value {
  303. list {
  304. i: 1
  305. i: 2
  306. i: 2
  307. i: 1
  308. }
  309. }
  310. }
  311. attr {
  312. key: "padding"
  313. value {
  314. s: "VALID"
  315. }
  316. }
  317. attr {
  318. key: "rates"
  319. value {
  320. list {
  321. i: 1
  322. i: 1
  323. i: 1
  324. i: 1
  325. }
  326. }
  327. }
  328. attr {
  329. key: "strides"
  330. value {
  331. list {
  332. i: 1
  333. i: 2
  334. i: 2
  335. i: 1
  336. }
  337. }
  338. }
  339.  
  340. Warning: No conversion function registered for layer: RealDiv yet.
  341. Converting as custom op RealDiv truediv_20
  342. name: "truediv_20"
  343. op: "RealDiv"
  344. input: "sub_20"
  345. input: "truediv_20/y"
  346. attr {
  347. key: "T"
  348. value {
  349. type: DT_FLOAT
  350. }
  351. }
  352.  
  353. Warning: No conversion function registered for layer: Identity yet.
  354. Converting as custom op Identity concat
  355. name: "concat"
  356. op: "Identity"
  357. input: "29-leaky"
  358. attr {
  359. key: "T"
  360. value {
  361. type: DT_FLOAT
  362. }
  363. }
  364.  
  365. Traceback (most recent call last):
  366. File "<stdin>", line 1, in <module>
  367. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 103, in from_tensorflow_frozen_model
  368. return from_tensorflow(graphdef, output_nodes, **kwargs)
  369. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 77, in from_tensorflow
  370. uff_metagraph_proto = uff_metagraph.to_uff()
  371. File "/usr/local/lib/python2.7/dist-packages/uff/model/meta_graph.py", line 39, in to_uff
  372. graphs=[graph.to_uff(debug) for graph in self.graphs],
  373. File "/usr/local/lib/python2.7/dist-packages/uff/model/graph.py", line 26, in to_uff
  374. graph = uff_pb.Graph(id=self.name, nodes=self._check_graph_and_get_nodes())
  375. File "/usr/local/lib/python2.7/dist-packages/uff/model/graph.py", line 46, in _check_graph_and_get_nodes
  376. raise extend_with_original_traceback(e, node._trace)
  377. ValueError: Field name must be a string
  378.  
  379. Originally defined at:
  380. File "<stdin>", line 1, in <module>
  381. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 103, in from_tensorflow_frozen_model
  382. return from_tensorflow(graphdef, output_nodes, **kwargs)
  383. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 75, in from_tensorflow
  384. name="main")
  385. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/converter.py", line 64, in convert_tf2uff_graph
  386. uff_graph, input_replacements)
  387. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/converter.py", line 51, in convert_tf2uff_node
  388. op, name, tf_node, inputs, uff_graph, tf_nodes=tf_nodes)
  389. File "/usr/local/lib/python2.7/dist-packages/uff/converters/tensorflow/converter.py", line 29, in convert_layer
  390. uff_graph.custom_node(op, inputs, name, fields)
  391. File "/usr/local/lib/python2.7/dist-packages/uff/model/graph.py", line 233, in custom_node
  392. return self._add_node(op, name, inputs=inputs, fields=fields, extra_fields=extra_fields)
  393. File "/usr/local/lib/python2.7/dist-packages/uff/model/graph.py", line 65, in _add_node
  394. node = Node(self, op, name, inputs, fields, extra_fields)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement