Study/Deep Learning Algorithm

TASK#05 Deep learning_Tensorflow_@comp

와와치 2016. 10. 27. 23:41

TASK#05 Deep learning_Tensorflow_@comp

.

PURPOSE

Tensorflow를 이용해서 이것 저것 

DO PLAN & DUE DATE & (HISTORY)

 AI #

 NAME

TARGET DATE

 TERM(D/W/M)

목표설명 

 1 


 

시작

 2

 MNIST EX

 2016.11.26

2016.11.26 

집 컴으로 MNIST example을 돌려본다. tensorflow 팀에서 제공하는 example로 

     
  

 

 

 


CONCLUSION

.




AI #0 TendorFlow tutorial 이해하기

https://github.com/aymericdamien/TensorFlow-Examples


1. Intorduction

Hellow world

Q. from?

Q. Session

Q. print('hello world')






AI #1 Install

1.1 



AI #2 MNIST EXAMPLE

2.1. 설치부터 다시

집에서 다시 해야하기 때문에 텐서플로 설치를 다시 해야했음.

1) https://tensorflowkorea.gitbooks.io/tensorflow-kr/content/g3doc/get_started/os_setup.html    참고

2) https://www.tensorflow.org/versions/r0.11/tutorials/mnist/beginners/index.html    참고

위 (영어 번역) 사이트들을 보고 작업을 하였다. cudnn의 버전을 받으라는 부분이 v4, v5에서 달랐는데 v4로 진행하였다.

CUDA library는 V7.5.17 를 사용하였다.(nvcc --version), cudnn V4.0.7(cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2) 을 사용하였다.

tutorial 은 tensorflow의 공식 홈페이지 (https://www.tensorflow.org/) 에서 타고 들어간 깃허브의 것을 받았는데, 아직 이해는 못했지만, 0.11 version을 받아야만 정상적으로 동작한다. Q. 왜인지는 모른다.

git clone -b r0.11 https://github.com/tensorflow/tensorflow.git 으로 받는다.

그리고 tensorflow 폴더 안의 configure 를 실행한다.(./configure)

다른 설정들보다, cuda library설정을 할 때 7.5로 했다. 그리고 하둡이나,openCL, google cloud platform 관련 설정은 하지 않았다. (N선택)

2.2. MNIST tutorial

What I will accomplish in this tutorial.

- Create a function that is a model for recognizeing digits, based on looking at every pixel in the image.

- Use Tensorflow to trainthe model to recognize digits by having it "look" at thousands of examples (and run out first tensor flow session to do so)

- Check the model's accuracy with our test data