Step 2.2 is currently not only spitting warnings, it seems to not work at all unfortunately:
import onnx
from onnx_tf.backend import prepare
onnx_model = onnx.load(onnx_path)
tf_rep = prepare(onnx_model)
/usr/local/lib/python3.7/dist-packages/tensorflow_addons/utils/ensure_tf_install.py:67: UserWarning: Tensorflow Addons supports using Python ops for all Tensorflow versions above or equal to 2.3.0 and strictly below 2.5.0 (nightly versions are not supported).
The versions of TensorFlow you are currently using is 1.15.2 and is not supported.
Some things might work, some things might not.
If you were to encounter a bug, do not file an issue.
If you want to make sure you're using a tested and supported configuration, either change the TensorFlow version or the TensorFlow Addons's version.
You can find the compatibility matrix in TensorFlow Addon's readme:
https://github.com/tensorflow/addons
UserWarning,
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-f6cf1dfe42ba> in <module>()
1 import onnx
----> 2 from onnx_tf.backend import prepare
3
4 onnx_model = onnx.load(onnx_path)
5 tf_rep = prepare(onnx_model)
7 frames
/usr/local/lib/python3.7/dist-packages/tensorflow_addons/utils/types.py in <module>()
21
22 # TODO: Remove once https://github.com/tensorflow/tensorflow/issues/44613 is resolved
---> 23 from tensorflow.python.keras.engine import keras_tensor
24
25
ImportError: cannot import name 'keras_tensor' from 'tensorflow.python.keras.engine' (/tensorflow-1.15.2/python3.7/tensorflow_core/python/keras/engine/__init__.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------