I tried python -m tf2onnx.convert --saved-model [file_name] --output [onnx_file_name]
. but It is run by tensorflow = 2.4.4
automatically. I want to run tensorflow version 1 code. Is this code have a option of it?
I used python -m tf2onnx.convert --saved-model [model file] --output [onnx file name].onnx --opset 13
and I solved it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.