Has anyone successfully converted an onnx model to tensorflow? Here's the problems I'm having...

This page summarizes the projects mentioned and recommended in the original post on /r/tensorflow

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • onnx-tensorflow

    Tensorflow Backend for ONNX

  • TLDR: I'm using onnx-tf to convert an onnx model to tensorflow. During the conversion I lose important information such as inputs, outputs and the names of operators. Please read on if you have experience with this library or you've experienced similar issues. :)

  • models

    A collection of pre-trained, state-of-the-art models in the ONNX format (by onnx)

  • Instructions to reproduce the problem: I am trying to convert a proprietary model at work but for now i'll use mobilenetv2-7.onnx to explain/reproduce the issue.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • netron

    Visualizer for neural network, deep learning and machine learning models

  • Now, if you upload the onnx model and the generated saved_model/saved_model.pb into seperate Netron windows you can see that in the generated model's graph there is no information for the output node. There is no obvious input node. Also, any operators that you can find within the generated model's graph do not retain the name of the operators from the onnx graph such as Conv, Gemm etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts