All Projects → rezaxdi → tensorflow-on-orangepi-zero

rezaxdi / tensorflow-on-orangepi-zero

Licence: Apache-2.0 license
Tensorflow for Orange PI Zero

Projects that are alternatives of or similar to tensorflow-on-orangepi-zero

miZy
miZy - tiny fast embedded linux
Stars: ✭ 106 (+562.5%)
Mutual labels:  embedded, orangepi
octocitrico
OctoPrint for other fruits
Stars: ✭ 76 (+375%)
Mutual labels:  orangepi, orangepi-zero
arm synth
Wavetable Synth Running on an STM32F 32-bit ARM Cortex M3 microprocessor
Stars: ✭ 23 (+43.75%)
Mutual labels:  embedded
mish
A no-std libm implementation in Rust
Stars: ✭ 14 (-12.5%)
Mutual labels:  embedded
lwjson
Lightweight JSON parser for embedded systems
Stars: ✭ 66 (+312.5%)
Mutual labels:  embedded
FreeRTOS-rust
Rust crate for FreeRTOS
Stars: ✭ 159 (+893.75%)
Mutual labels:  embedded
bacnet-stack
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services.
Stars: ✭ 199 (+1143.75%)
Mutual labels:  embedded
rust-sysfs-pwm
Linux PWM Access via Sysfs in Rust
Stars: ✭ 42 (+162.5%)
Mutual labels:  embedded
dockage
embedded document/json store
Stars: ✭ 20 (+25%)
Mutual labels:  embedded
pumbaa
Python on Simba.
Stars: ✭ 61 (+281.25%)
Mutual labels:  embedded
rauc-hawkbit-updater
The RAUC hawkBit updater is a simple commandline tool/daemon that runs on your target and interfaces between RAUC and hawkBit's DDI API.
Stars: ✭ 40 (+150%)
Mutual labels:  embedded
zephyr-rtos-tutorial
Zephyr tutorial for beginners
Stars: ✭ 94 (+487.5%)
Mutual labels:  embedded
uevloop
A fast and lightweight event loop for embedded platforms.
Stars: ✭ 61 (+281.25%)
Mutual labels:  embedded
libDaisy
Hardware Library for the Daisy Audio Platform
Stars: ✭ 164 (+925%)
Mutual labels:  embedded
Embedded UKF Library
A compact Unscented Kalman Filter (UKF) library for Teensy4/Arduino system (or any real time embedded system in general)
Stars: ✭ 31 (+93.75%)
Mutual labels:  embedded
Raspberry-W25Q64
SPI Flash Memory W25Q64 Access Library for RaspberryPi
Stars: ✭ 37 (+131.25%)
Mutual labels:  orangepi
cowl
A lightweight C/C++ library for working with Web Ontology Language (OWL) ontologies
Stars: ✭ 18 (+12.5%)
Mutual labels:  embedded
libe4
C library of Teserakt's E4 end-to-end security protocol
Stars: ✭ 15 (-6.25%)
Mutual labels:  embedded
openncc
OpenNCC Kit
Stars: ✭ 23 (+43.75%)
Mutual labels:  embedded
micropython-micropower
Support for building ultra low power systems based on the Pyboard (1.x and D series).
Stars: ✭ 44 (+175%)
Mutual labels:  embedded

Installing TensorFlow on Orange Pi Zero (Compiled and tested on 512MB version)

This repo provides 2 ways to install TensorFlow on Orange Pi Zero, the first and easy one is using a pre compiled python wheel and the second one is by compiling it yourself if the first one fails or if the wheel doesn't suit your needs. This repo can be considered as a fork of this one but as I wanted to have different release files for Orange Pi only and keep it as clean as possible created it from scratch.

Index

  1. Installing from wheel
  2. Installing from source
  3. Credits
  4. License

Installing from wheel

Note: These are unofficial binaries (though built from the minimally modified official source), and thus there is no expectation of support from the TensorFlow team. Please don't create issues for these files in the official TensorFlow repository.

Pre-built binary is built using Armbian 5.41 and is targeted for Orange Pi Zero running Armbian 5.41, so this method may or may not work for you. I currently only make wheels for latest versions of python 3.x available on Armbian.

  • Install Dependencies : sudo apt update & sudo apt install python3-pip python3-dev
  • Download latest release : wget https://github.com/rezaxdi/tensorflow-on-orangepi-zero/releases/download/v1.6.0/tensorflow-1.6.0-cp35-cp35m-linux_armv7l.whl
  • Install the wheel : pip3 install --user tensorflow-1.6.0-cp35-cp35m-linux_armv7l.whl

Installing from source

If the earlier method didn't work for you then you can build TensorFlow from the source. Orange Pi Zero suffers from lack of the memory and this can lead to occasional freezes during the build process even when you use lots of swap space so this is a process that can take more than 24 hour and even several days in the worst case. If you are ready follow the guide carefully, in the last part of the guide, I have provided some useful tips to prevent those occasional freezes as much as possible :

Building from source guide

Credits

As told in the beginning this repo can be considered as a fork of @samjabrahams work so I will bring his repo credit section in continue but before that I want to add some more, it took a lot of time to compile binaries on Orange Pi Zero and after around 8 days this issue was just a lot of disappointment so thanks from @Lexicographical which finally made my binaries working in Orange Pi Zero.

While the final pieces of grunt work were done primarily by @samjabrahams and @petewarden, this effort has been going on for almost as long as TensorFlow has been open-source, and involves work that spans multiple months in separate codebases. This is an incomprehensive list of people and their work @samjabrahams ran across while working on this.

The majority of the source-building guide is a modified version of these instructions for compiling TensorFlow on a Jetson TK1. Massimiliano, you are the real MVP. Note: the TK1 guide was updated on June 17, 2016

@vmayoral put a huge amount of time and effort trying to put together the pieces to build TensorFlow, and was the first to get something close to a working binary.

A bunch of awesome Googlers working in both the TensorFlow and Bazel repositories helped make this possible. In no particular order: @vrv, @damienmg, @petewarden, @danbri, @ulfjack, @girving, and @nlothian

License

The file RELEASE_LICENSE is TensorFlow's license file and applies to the binaries distributed in the releases.

The file LICENSE is for the repository itself.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].