onnx-tensorflow
onnx-tensorflow copied to clipboard
tensorflow1.14, tf1.14
Since I have to use tensorflow 1.14, I would like to ask which version of onnx-tf is suitable for tensorflow 1.14.
Please try 1.5.0 which might work and 1.4.0 which should work with tf 1.14. Currently onnx-tf follows ONNX versions. Therefore, it doesn't have a release for each Tensorflow version that can be installed.
Please try 1.5.0 which might work and 1.4.0 which should work with tf 1.14. Currently onnx-tf follows ONNX versions. Therefore, it doesn't have a release for each Tensorflow version that can be installed.
Sorry to disturb you again, I found that there is no onnx-tf==1.4.0 version. So I tried 1.5.0, but it didn't work. Some warnings are generated during the process, and then the conversion process is terminated. I would like to ask where to get the 1.4.0 version of onnx-tf, or whether the following problems may be solved. Thanks.
/onnx_tf/common/handler_helper.py:37: UserWarning: Unknown op ConstantFill in domain `ai.onnx`.
handler.ONNX_OP, handler.DOMAIN or "ai.onnx"))
Please try onnx-tf==1.3.0. Your onnx model has ConstantFill, which is an experimental op, removed since onnx 1.4.1. So 1.3.0 might work.
I have another problem, when i try to "from onnx_tf.backend import prepare" on onnx=1.11.0, onnx-tf==1.3.0 and tf-1.14 i got this error message: ImportError: cannot import name 'trace' from 'tensorflow.python.profiler' (/usr/local/lib/python3.7/dist-packages/tensorflow/python/profiler/init.py) could you give me some advice.
TF 1.14 is about 3 years old and not tested with recent onnx and onnx-tf. My suggestion is to upgrade to TF 2.8.