SJTU-Thinklab-Det/DOTA-DOAI

TensorFlow Ops issues during ONXX and trt conversion

rabaig opened this issue · 0 comments

Hello,

First of all, Thanks to your work. I utilized this repo on my custom data and well worked. Unfortunately, I got struck in final step.

I am trying to convert this model to tensorflow ONXX and TensorRuntime(.trt). There are few unsupported graphs that cause the conversion got failed to these models.

please refer: onnx/tensorflow-onnx#1981

2022-06-26 21:46:34,344 - ERROR - Tensorflow op [cond/mul/Switch: Switch] is not supported
2022-06-26 21:46:34,344 - ERROR - Tensorflow op [cond/floordiv/Switch: Switch] is not supported
2022-06-26 21:46:34,344 - ERROR - Tensorflow op [cond/cond/Merge: Merge] is not supported

I have two questions and I need your help to move forward.

  1. I could not able to find the source code, how the tensorflow OPS are getting created and utilized in the graph.
  2. As suggested by the tensorflow team, if I remove the unsupported OPS, will that effect my results.