본문 바로가기

Machine Learning (ML)

TensorFlow

반응형

Data Flow Graph 란?

node와 edge로 이루어진 그래프입니다.

node는 수학적인 연산자라고 할 수 있으며 edge는 데이터 배열(텐서)들이 서로간의 관계를 가지고 있는 것입니다.

 

 

설치

1. Python 설치

TensorFlow 설치를 위해서 python 3.5 버전 이상을 설치해야합니다. 

 

https://www.python.org/downloads/release/python-353/

 

Python Release Python 3.5.3

The official home of the Python Programming Language

www.python.org

파이썬 설치 사이트로 이동후 본인 운영체제에 맞는 버전을 클릭하여 설치 진행 합니다.

 

본인 운영체제에 맞는 버전 설치

 

 

2. anaconda 설치

 

https://www.anaconda.com/distribution/

 

Anaconda Python/R Distribution - Free Download

Anaconda Distribution is the world's most popular Python data science platform. Download the free version to access over 1500 data science packages and manage libraries and dependencies with Conda.

www.anaconda.com

 

아나콘다 사이트에 접속해서 본인 운영체제에 맞는 버전을 설치합니다.

3.5 버전 이상 설치해야합니다.

 

 

 

3. Anaconda prompt 관리자 권한으로 실행

1) pip 업그레이드

python -m pip install --upgrade pip

 

2) conda 환경 구성

conda create -n tensorflow python=3.5

 

3) tensor flow 설치

이때 주의해야할 점은 Session 메소드 사용을 위해선 tensorflow버전이 2미만이어야한단 점입니다.

 

 

반응형