Problem with converting #14476
Replies: 6 comments 3 replies
-
have u tried cmd like so? |
Beta Was this translation helpful? Give feedback.
-
python -m tf2onnx.convert --saved-model "ModelToConvert ''--output "ModelToConvert.onnx" And finally the file "ModelToConvert.onnx" isn't created. |
Beta Was this translation helpful? Give feedback.
-
Yes, it is right |
Beta Was this translation helpful? Give feedback.
-
I made some changes: |
Beta Was this translation helpful? Give feedback.
-
Everything with correspondent spaces is in my line |
Beta Was this translation helpful? Give feedback.
-
can u pls try to double quoted the path, or test it locally wo/ path and see? |
Beta Was this translation helpful? Give feedback.
-
Hello. I saved my model to the directory: D:/IDE/VS/source/repos/TensorFlowDL/data/modelLSTM.
When I try to convert it, I write the following:
tf2onnx.convert --saved-model D:/IDE/VS/source/repos/TensorFlowDL/data/modelLSTM --output D:/IDE/VS/source/repos/TensorFlowDL/data/modelLSTM.onnx --opset 13
or
tf2onnx.convert --saved-model D:\IDE\VS\source\repos\TensorFlowDL\data\modelLSTM --output D:\IDE\VS\source\repos\TensorFlowDL\data\modelLSTM.onnx --opset 13 --
I get a syntax error: "File "", line 1
tf2onnx.convert --saved-model D:\IDE\VS\source\repos\TensorFlowDL\data\modelLSTM --output D:\IDE\VS\source\repos\TensorFlowDL\data\modelLSTM.onnx --opset 13
^
SyntaxError: invalid syntax"
I cant't understand where is the error
Beta Was this translation helpful? Give feedback.
All reactions