라즈베리파이에 텐서플로우 설치하기

2018. 12. 17. 22:55·Development/라즈베리파이
반응형

                                                                                                                                                         

                                                                                                                                                                                                                   

                                                                                                                                                         

                                                                                                                                                                                                             

                                                                                                                                                                                                          

텐서플로우 설치

먼저, SD카드를 윈도우에서 포맷한 다음에, Win32DiskMager프로그램을 이용하여NOOBS zip파일의 압축을 풀고 나온 파일들을SD카드에 옮긴다. (SD카드의 용량이 작아서NOOBS lite로 해야함)
이렇게 해야 클린하게 설치된다.
라즈베리파이 초기 설정,파이썬3설치

라즈베리파이에 텐서플로우 설치

해당 문서: https://github.com/samjabrahams/tensorflow-on-raspberry-pi
Installing from Pip
 
라즈베리파이상에서 텐서플로우 동작 확인
참고한 문서: http://qiita.com/mix_dvd/items/6b38859148a988c3fe06
$ nanohello-tf.py
 
 
참고문서: http://qiita.com/yudsuzuk/items/092c38fee18e4484ece9
 
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile
Before you start (all platforms)
First, clone this TensorFlow repository.
You will need to download all dependencies as well. We have provided a script that does so, to be run (as with all commands) at the root of the repository:(라즈베리파이의 루트에 압축 푼 파일의tensorflow폴더를 올려놔야 한다!)
tensorflow/contrib/makefile/download_dependencies.sh
Raspberry Pi
Building on the Raspberry Pi is similar to a normal Linux system. First download the dependencies, install the required packages and build protobuf:
tensorflow/contrib/makefile/download_dependencies.sh
sudo apt-get install -y autoconf automake libtool gcc-4.8 g++-4.8
cdtensorflow/contrib/makefile/downloads/protobuf/
./autogen.sh
./configure
make
sudo make install
sudo ldconfig # refresh shared library cache
cd../../../../..
Once that's done, you can use make to build the library and example:

make -f tensorflow/contrib/makefile/Makefile HOST_OS=PI TARGET=PI OPTFLAGS="-Os"CXX=g++-4.8 

 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Development > 라즈베리파이' 카테고리의 다른 글

라즈베리파이 카메라 모듈 사용법  (0) 2018.12.17
라즈베리파이에서 맥북으로 원격접속  (1) 2018.12.17
라즈베리파이 카메라 설정  (0) 2018.12.17
라즈베리파이에 미니콘다(Jupyter notebook) 설치  (0) 2018.12.17
라즈베리파이에 라즈비안 설치  (0) 2018.12.17
'Development/라즈베리파이' 카테고리의 다른 글
  • 라즈베리파이 카메라 모듈 사용법
  • 라즈베리파이에서 맥북으로 원격접속
  • 라즈베리파이 카메라 설정
  • 라즈베리파이에 미니콘다(Jupyter notebook) 설치
doh.k
doh.k
  • doh.k
    DOHk's DevLog
    doh.k
  • 전체
    오늘
    어제
    • 분류 전체보기
      • DailyLog
      • TIL
      • Project
        • Development
        • Artificial Intelligence
      • Development
        • Database
        • WEB
        • CSE
        • javascript
        • Algorithms
        • Linux
        • Network
        • Python
        • 라즈베리파이
        • Apple
      • Research
        • 논문
        • 금융,블록체인
        • Time-Series
        • 수학
        • 미적분학
        • 화학
      • Artificial Intelligence
        • Machine Learning
        • Deep Learning
        • TensorFlow
        • ReinforcementLearning
      • 기타
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    Python
    데이터
    Mac
    아이패드
    ssh
    데이터베이스
    기계학습
    Network
    스프링
    맥북
    머신러닝
    자료구조
    네트워크
    Spring
    가상화폐
    라즈베리파이
    Linux
    gradient descent
    딥러닝
    리눅스
    gradient
    자바스크립트
    pycharm
    Machine Learning
    블록체인
    파이썬
    JavaScript
    Algorithms
    경사하강법
    알고리즘
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
doh.k
라즈베리파이에 텐서플로우 설치하기
상단으로

티스토리툴바