Comments (6)
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.
Hi, using crosscompiler, gcc linaro don't supports python version >= 3.6.
from tensorflow-on-arm.
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
from tensorflow-on-arm.
+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.
what should be bazel version for building tensorflow 1.12 on raspberry pi 3b i just need compatible bazel version
from tensorflow-on-arm.
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)
- Installing 2.3.0 wheel produces tensorflow._version_=1.14.0 HOT 1
- request tensorflow 1.15.0 on arm
- Building TF 2.X.0 for OdroidXU4 with Python3.8 HOT 4
- Cant install on Google Coral
- Tensorflow on Artik710
- Illegal Instruction on Odroid C2
- Failing to verify sha on icu-release-62-1
- build in rk3399,not cross-compilation
- Tensorflow 1.14.0-Buster on Google Coral HOT 2
- rk3399 build tensorflow-cpu-1.10 error HOT 1
- illegal instruction
- error docker build in arm device
- apt-get: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0)
- HDFS support for tensorflow 2.3.0
- python3.6 tensorflow1.13
- can u update the new version of TensorFlow 2.5.0
- Do you also provide prebuild wheel packages for tensorflow_probability and tf_agents? HOT 1
- An error occurred “ parse error near `\n' " . HOT 1
- TF 2.3.0 rc0 and rc1 for RPI HOT 2
- v2.2.0 installationattempt on debian buster reports unsupported platform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-on-arm.