Skip to content

TensorFlow

텐서플로우(TensorFlow) 는 구글 제품에 사용되는 머신러닝(기계학습)을 위한 오픈소스 소프트웨어 라이브러리이다. 구글내 연구와 제품개발을 위한 목적으로 구글 브레인(Google Brain) 팀이 만들었고 2015년 11월 9일 아파치 2.0 오픈소스 라이센스로 공개되었다.

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

위와 같은 에러가 발생되면 아래와 같이 해결하면 된다.

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

See also

Favorite site

Guide

Article

References


  1. Tensorflow-kr.pdf