How to upgrade tensorflow version to latest version?

I am currently using TensorFlow in my Twin Activate project, where I use a Python block to communicate with the MotionSolve block. This Python block runs a script that uses TensorFlow to load a model developed in Google Colab. However, there has been an issue when loading the model because the TensorFlow versions in Twin Activate and Google Colab are different. I tried upgrading it through the Python console, but it only upgraded to version 2.13.0, while my Google Colab environment uses TensorFlow version 2.18.0.
Best Answer
-
hi @sudo,
If I remember correctly, latest versions of TensorFlow stopped supporting Python 3.8, which is the in-built Python installation available in Twin Activate. A workaround might be to import an earlier TensorFlow version in Google Colab.
It's been a while since I last used TensorFlow but, if I remember correctly, there might be an option to export a model as an earlier version as well.
Rafael
1
Answers
-
hi @sudo,
If I remember correctly, latest versions of TensorFlow stopped supporting Python 3.8, which is the in-built Python installation available in Twin Activate. A workaround might be to import an earlier TensorFlow version in Google Colab.
It's been a while since I last used TensorFlow but, if I remember correctly, there might be an option to export a model as an earlier version as well.
Rafael
1