TF2 0 Installing Tensorflow
================ by Jawad Haider
1.14.0
# Install TensorFlow 2.0
# You can run regular shell commands by prepending !
# !pip install -q tensorflow==2.0.0-beta1
# GPU version
# !pip install -q tensorflow-gpu==2.0.0-beta1
##### UPDATE 2020 #####
# new feature of colab - you can just use this
try:
%tensorflow_version 2.x # Colab only.
except Exception:
pass
`%tensorflow_version` only switches the major version: 1.x or 2.x.
You set: `2.x # Colab only.`. This will be interpreted as: `2.x`.
TensorFlow 2.x selected.
2.2.0-rc2
# How to install a library permanently?
# https://stackoverflow.com/questions/55253498/how-do-i-install-a-library-permanently-in-colab
sample_data
anscombe.json mnist_test.csv
california_housing_test.csv mnist_train_small.csv
california_housing_train.csv README.md