Code Monkey home page Code Monkey logo

Comments (6)

acu192 avatar acu192 commented on June 3, 2024

I second this.

I naively tried the following:

# cd build_tensorflow/
# docker build -t tf-arm -f Dockerfile .
# docker run -it -v /tmp/tensorflow_pkg/:/tmp/tensorflow_pkg/ --env TF_PYTHON_VERSION=3.6 tf-arm ./build_tensorflow.sh ./configs/rpi.conf

(notice the TF_PYTHON_VERSION=3.6 above; that's my only change)

It failed because it could not find a path to python. I forget the exact environment variable's name (something like PYTHON_BIN_PATH), but it ended up being an empty path thus it wasn't executable. Unfortunately I closed that terminal so I don't have the exact error on hand.

Is it possible to use this repo to build for python 3.6?

from tensorflow-on-arm.

lhelontra avatar lhelontra commented on June 3, 2024

Hi, using crosscompiler, gcc linaro don't supports python version >= 3.6.

from tensorflow-on-arm.

chyidl avatar chyidl commented on June 3, 2024

System information

Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch
gcc: $ gcc -v
clang version 6.0.0 (tags/RELEASE_600/final)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/local/clang_6.0.0/bin
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.6
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.6.4
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.7
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.7.3
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.8
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.8.5
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.9
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.9.3
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/5
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/5.4.1
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/6
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/6.3.0
Selected GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/6.3.0
Candidate multilib: .;@m32
Selected multilib: .;@m32
Python version 3.6.7
Build label: 0.20.0- (@non-git)

Command triggering issue

$ bazel build -c opt --copt="-mfpu=neon-vfpv4" --copt="-funsafe-math-optimizations" --copt="-ftree-vectorize" --copt="-fomit-frame-pointer" --local_resources 1024,4.0,1.0 --verbose_failures tensorflow/tools/pip_package:build_pip_package --incompatible_remove_native_http_archive=false

Error Logs

screen shot 2018-12-30 at 11 16 41 pm

from tensorflow-on-arm.

agjunyent avatar agjunyent commented on June 3, 2024

+1 to this. I'm working with Odroid XU4 with Ubuntu 18.04, that comes with python3.6 by default.

I have to make lots of efforts to install both tensorflow and opencv, because tensorflow only supports python3.5, but opencv is not available by source on python3.5.

from tensorflow-on-arm.

ZAFERSHAMIM avatar ZAFERSHAMIM commented on June 3, 2024

what should be bazel version for building tensorflow 1.12 on raspberry pi 3b i just need compatible bazel version

from tensorflow-on-arm.

mihailescu2m avatar mihailescu2m commented on June 3, 2024

I've created the dependencies for compiling tag 1.13.1 natively on the odroid xu4.
The config is conf/odroidxu4-native.conf, and build dependencies can be found in the Docker.bionic file at https://github.com/mihailescu2m/tensorflow-on-arm

from tensorflow-on-arm.

Related Issues (20)

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.