Skip to content

TensorFlow Ops issues during ONXX and trt conversion #39

@rabaig

Description

@rabaig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions