Skip to content

Instantly share code, notes, and snippets.

@naxty
Created August 26, 2019 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naxty/acbf51b194943e25dfae1b9857a02ac4 to your computer and use it in GitHub Desktop.
Save naxty/acbf51b194943e25dfae1b9857a02ac4 to your computer and use it in GitHub Desktop.
Import an onnx model in tensorflow
import onnx
from onnx_tf.backend import prepare
model = onnx.load('output/mnist.onnx')
tf_rep = prepare(model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment