Saturday, March 16, 2019

Installation of Tensorflow within Python Env and Jupyter

1. Download Anaconda:
https://www.anaconda.com/distribution/#macos


Error while creating a Session with Tensorflow (command line)
>>> sess = tf.Session()

I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

Solution:
>>> import os

>>> os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

Anaconda Cheatsheet:
https://github.com/conda/conda-docs/files/1252315/conda-cheatsheet.pdf

References:
https://medium.com/@margaretmz/anaconda-jupyter-notebook-tensorflow-and-keras-b91f381405f8

No comments:

Post a Comment

Installation of Tensorflow within Python Env and Jupyter

1. Download Anaconda: https://www.anaconda.com/distribution/#macos Error while creating a Session with Tensorflow (command line) >...