Skip to content

shhan0226/TensorFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow-Basics

Introduction

기본적인 머신러닝/딥러닝 연습 및 예제

Installation

  1. 텐서플로우가 지원하는 파이선 버전 확인
    https://www.tensorflow.org/install/source_windows?hl=ko.

  2. 인터넷--> Python Releases for Windows (dowload --> release 64bit executable installer--> install now)

  3. 파이선 설치 시작해서 인스터올 선택, add PaTH 체크

  4. MS Visual Studio 2015 c++ 패키지 설치

  5. pip install --upgrade tensorflow
    pip install --ignore-installed --upgrade tensorflow==1.6.0
    https://www.tensorflow.org/install/gpu?hl=ko ==> 여기서 설치

  6. 실행하기 IDE 켜서 실행해보기
    import tensorflow as tf
    hello=tf.constant("Hello World!")
    sess = tf.Session()
    print(sess.run(hello))

  7. warning 발생시
    pip show numpy
    pip uninstall numpy (till you uninstall all versions)
    pip install numpy==1.16.4

  8. pip3 install -U pip virtualenv

  9. pip install --upgrade tensorflow-gpu

  10. GPU 필요 파일 받기
    CUDA® Toolkitopen_in_new - TensorFlow는 CUDA 10.0을 지원합니다(TensorFlow 1.13.0 이상). cuDNN SDKopen_in_new(7.4.1 이상) ==> 내부 파일 이동하기
    SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;%PATH%
    SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;%PATH%
    SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include;%PATH%

  11. matplotlib 설치
    python -m pip install -U pip
    python -m pip install -U matplotlib

Reference

About

TensorFlow 예제 구현 저장소입니다.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages