Converting Tensorflow Model for use with ONNX #187
Unanswered
helloimalastair
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You are not using any ops from ai.onnx.ml, so the quickest fix would be to remove the reference from the ONNX file after exporting it from TF (you could use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey y'all! I'm new to WONNX, and ML in general, so please bear with me if I am missing something obvious.
I have an Image Classifier model I've trained with Tensorflow, with the following architecture:
This model works well against my test data, and I have converted it to an
ONNX
model withtf2onnx.convert
. The trouble is when I try to import said model withwonnx
, I get the errorAs far as I can tell, by default,
tf2onnx
will choose either theONNX_DOMAIN
(""), which should work withwonnx
, or theAI_ONNX_ML_DOMAIN
, and I'm not sure how to get it to compile with the first to make it work.Anyone have any ideas what I could be missing?
Beta Was this translation helpful? Give feedback.
All reactions