Hi.
I have a problem when using the “ONNX to TensorFlow Network Converter” node.
My test environment is as follows
- KNIME AP 4.5.6
- Python 3.9.13
I have installed some packages using pip.
The list is as follows onnx, onnx_tf, tensorflow_probability, tensorflow, keras, keras_cv, keras_nlp.
However, it still didn’t work and the error is shown below:
Some import statements contained in this node seem to be out of date.
So, I would be grateful if you could let me know which package versions were used when developing that node and which ones I should install to get the correct version.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.autotrackable has been moved to tensorflow.python.trackable.autotrackable. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.base has been moved to tensorflow.python.trackable.base. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.base_delegate has been moved to tensorflow.python.trackable.base_delegate. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.data_structures has been moved to tensorflow.python.trackable.data_structures. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.graph_view has been moved to tensorflow.python.checkpoint.graph_view. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.util has been moved to tensorflow.python.checkpoint.checkpoint. The old module will be deleted in version 2.11.
INFO ONNX to TensorFlow Network Converter 3:2 WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.checkpoint_management has been moved to tensorflow.python.checkpoint.checkpoint_management. The old module will be deleted in version 2.9.
DEBUG ONNX to TensorFlow Network Converter 3:2 reset
ERROR ONNX to TensorFlow Network Converter 3:2 Execute failed: cannot import name ‘disable_mlir_graph_optimization’ from ‘tensorflow.python.framework.config’ (C:\Users\khhfh\anaconda3\envs\py3_knime\lib\site-packages\tensorflow\python\framework\config.py)