Giter VIP home page Giter VIP logo

install-tensorflow-on-friendlycore's Introduction

Installing Tensorflow 1.14.0 on FriendlyCore/FriendlyDesktop

Here are the packages and utilities your system will have after you follow the instructions in this tutorial:

  • Tensorflow 1.14.0
  • Python 3.5.6

Currently supported boards

  • RK3399
    NanoPC T4
    NanoPC M4
    NanoPC NEO4

Installation

Step1 - Clone this repository on target board

git clone https://github.com/friendlyarm/install-tensorflow-on-friendlycore.git

Step2 - Build python3.5 from source

cd install-tensorflow-on-friendlycore
./01-install-python-3.5.sh

Step3 - Install tensorflow 1.14.0-aarch64

./02-install-tensorflow.sh

Test image recognition sample

git submodule init
git submodule update
cd examples/models/tutorials/image/imagenet
python3 classify_image.py

classify_image.py downloads the trained model from Google’s backend, when the program runs the first time. You'll need about 200 MB of free space available on your disk.
image
The above commands will classify a supplied image of a panda bear.
If the model runs correctly, the script will produce the following output:

giant panda, panda, panda bear, coon bear, Ailuropoda melanoleuca (score = 0.89107)
indri, indris, Indri indri, Indri brevicaudatus (score = 0.00779)
lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens (score = 0.00296)
custard apple (score = 0.00147)
earthstar (score = 0.00117)

install-tensorflow-on-friendlycore's People

Contributors

lawrencetg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.