Skip to content
Search

TensorFlow

lastmod 2020-07-20created 2015-12-2117 edits

TensorFlow is an open-source software library for machine learning used in Google products. It was created by the Google Brain team for research and product development within Google, and was released under the Apache 2.0 open-source license on November 9, 2015.

Categories

How to install

Hardware requirements:

  • Starting with TensorFlow 1.6, binaries use AVX instructions which may not run on older CPUs.
  • Read the GPU support guide to set up a CUDA®-enabled GPU card on Ubuntu or Windows.

Installing with Anaconda

$ conda create -n tensorflow
$ source activate tensorflow
(tensorflow)$ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py3-none-any.whl

Verify the install:

$ python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"

Troubleshooting

Cannot open shared object file

ImportError: libcudart.so.8.0: cannot open shared object file:
  No such file or directory

If you get an error like the one above, fix it as follows.

export LD_LIBRARY_PATH=/usr/local/cuda/lib64/

See also

Favorite site

Guide

Article

References


  1. Tensorflow-kr.pdf ↩

author Zer0 sitemap