You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Initially had issues as python3.8 virtual env. on Linux Ubuntu in the usual manner. Was able to fix by installing alternative version python3.7 and then all dependencies install
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.7
update-alternatives --install /usr/bin/python python /usr/opt/python3.7
virtualenv -p python3.7 contrib/**insert your path/and name for virtual environment)
source **insert/path/to/environment**/bin/activate
pip install tensorflow==1.**
as 3.8 later does not allow pip install earlier versions of TensorFlow (dependency hell) :-)
I have been reproducing results from all ava papers and bumping into same tf1/tf2 issues especially around the config module which the normal routes to solving tf1 code solve such as repressing tf2 behaviour vis a vis:
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
I Initially had issues as python3.8 virtual env. on Linux Ubuntu in the usual manner. Was able to fix by installing alternative version python3.7 and then all dependencies install
as 3.8 later does not allow pip install earlier versions of TensorFlow (dependency hell) :-)
I have been reproducing results from all ava papers and bumping into same tf1/tf2 issues especially around the config module which the normal routes to solving tf1 code solve such as repressing tf2 behaviour vis a vis:
and migrating code using:
useful links are:
https://www.tensorflow.org/guide/upgrade
https://www.tensorflow.org/guide/upgrade
Python alternative install on Linux:
https://medium.com/analytics-vidhya/how-to-install-and-switch-between-different-python-versions-in-ubuntu-16-04-dc1726796b9b
https://hackersandslackers.com/multiple-versions-python-ubuntu/
python source download urls:
https://www.python.org/ftp/python/3.7.0/
managing virtual environments Linux:
https://www.liquidweb.com/kb/creating-virtual-environment-ubuntu-16-04/
https://docs.python.org/3/library/venv.html
The text was updated successfully, but these errors were encountered: