Welcome to our Support Center

Convert ONNX To TF SavedModel

Description

This VI transforms a .onnx file into a TensorFlow model using the standard SavedModel directory structure. This format is compatible with TensorFlow Serving and allows easy integration into TensorFlow-based pipelines.

Input parameters

 

 Open Netron : boolean, indicating whether to automatically open the resulting ONNX file in Netron after conversion. If true opens in Netron else conversion only.
ONNX Model Path : path, path to the ONNX model file (.onnx) to convert. Must contain a valid ONNX graph.
TF Model Folder Path : path, destination directory where the converted TensorFlow model will be saved. A new folder will be created (if it doesn’t already exist) containing the standard SavedModel format (saved_model.pb, variables, etc.).

 

Output parameters

 

 standard output : string, text output from the underlying Python process. Can include logs, conversion info, or warnings.
 standard error : string, text output capturing any error messages from the Python process, useful for debugging failed conversions.

 

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Deep Learning library to run it).
Table of Contents