Learning Tensorflow 2.0

Some notes on learning how to use Tensorflow 2.0

Tensorflow2 installation on Mac (April 2020) . It is incredibly useful to setup “virtualenv” first. Just do “pip install virtualenv”.

https://www.tensorflow.org/install/pip

Always activate before use

source ./venv/bin/activate  # sh, bash, ksh, or zsh
And deactivate the environment after use
deactivate  # don't exit until you're done using TensorFlow
Then I moved on to try this tutorial here with the “mnist” dataset
I ran into this error when I try to load the datasets
certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
I solved it following the StackOverflow post here (https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate ) by going to Applications, and click “Install Certificates.command“.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s