Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

TensorFlow installation tutorial,run Google Artificial Intelligence on RK3399

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TensorFlow installation tutorial,run Google Artificial Intelligence on RK3399

    To install TensorFlow on Firefly-RK3399. If you want to play with artificial intelligence, you can follow the tutorial to try.


    1. Install Ubuntu System

    Flash the ubuntu system image to Firefly-RK3399. I upgraded the Ubuntu single system: Firefly-RK3399_xubuntu1604_201707041527.img, you can go to the official website to download it.

    Note, if your Firefly-RK3399 is the default dual system firmware, you can switch directly to the Ubuntu system and skip this step.

    2. Install pip3

    After entering the system, use ALT + CTRL + T to bring up the terminal and enter
    1. sudo apt install python3-pip



    3.Git to download tensorflow-1.1.0rc1-cp35-cp35m-linux_aarch64.whl

    Install git
    1. sudo apt-get install git-core

    Download tensorflow-1.1.0rc1-cp35-cp35m-linux_aarch64.whl
    1. git clone https://github.com/JohnnyChan8/Tenso...eflyRK3399.git
    4. Use pip3 to install Tensorflow
    1. cd TensorFlow4FireflyRK3399
    1. pip3 install tensorflow-1.1.0rc1-cp35-cp35m-linux_aarch64.whl

    Install successfully



    5. Test Tensorflow
    After completing the above steps, TensorFlow has been installed to Firefly-RK3399, and now through a simple routine to test the program input
    1.python3

    2. import tensorflow as tf
    hello = tf.constant('Hello world!')
    sess = tf.Session()
    print(sess.run(hello))

    This time will print
    b'Hello world!'

    You may only view thumbnails in this gallery. This gallery has 4 photos.
Working...
X