Code for ONNX conversion

#1
by alt250 - opened

Hello,
Thanks for this ONNX model version!
Could you share the code you used to convert the model from Tensorflow to ONNX?

Hi @alt250 - https://github.com/onnx/tensorflow-onnx can do it E.g. python -m tf2onnx.convert --saved-model /content/mluse --output /content/use_ml_v3.onnx --opset 12 --extra_opset ai.onnx.contrib:1 --tag serve (where /content/use is the model downloaded from TFHub, then uncompressed)

Thank you!

alt250 changed discussion status to closed

Sign up or log in to comment