TensorFlow 1.9 Officially Supports the Raspberry Pi

Forums IoTStack News (IoTStack) TensorFlow 1.9 Officially Supports the Raspberry Pi

This topic contains 0 replies, has 1 voice, and was last updated by  Curator 1 for Blogs 1 week ago.

  • Author
  • #23657

    Curator 1 for Blogs
    • Topic 364
    • Replies 1
    • posts 365

      [ See previous post and replies

      Google is making a fast specialized TPU chip for edge devices  


      When TensorFlow was first launched in 2015, we wanted it to be an “open source machine learning framework for everyone”. To do that, we need to run on as many of the platforms that people are using as possible. We’ve long supported Linux, MacOS, Windows, iOS, and Android, but despite the heroic efforts of many contributors, running TensorFlow on a Raspberry Pi has involved a lot of work. Thanks to a collaboration with the Raspberry Pi Foundation, we’re now happy to say that the latest 1.9 release of TensorFlow can be installed from pre-built binaries using Python’s pip package system! If you’re running Raspbian 9 (stretch), you can install it by running these two commands from a terminal:

      sudo apt install libatlas-base-dev
      pip3 install tensorflow

      You can then run python3 in a terminal, and use TensorFlow just as you would on any other platform. Here’s a simple hello world example:

      # Python
      import tensorflow as tf
      hello = tf.constant(‘Hello, TensorFlow!’)

      If the system outputs the following, then you are ready to begin writing TensorFlow programs:

      Hello, TensorFlow!

      There are more details on installing and troubleshooting TensorFlow on the Raspberry Pi on the TensorFlow website.


    You must be logged in to reply to this topic.