-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensorflow-on-arm RP4 Python 3.7 64 bits #85
Comments
Raspbian (All versions) runs on 32-bit. There is no such thing like '64-bit' program built for Raspberry Pi4. The flag -j4 has the only purpose to accelerate the build, but at the end is meaningless for installation, I mean it doesn´t matter if the build takes 2 or 4 hours. |
Hi, Thanks, eventually I successfully installed TF 1.14.0. It was an adventure. See working procedure below. I was installed in a folder my Python did not search. And, I had to comment out the wrong import of cloud. Best, Tensor flow 1.14.0$ sudo pip install wrapt --upgrade --ignore-installed # otherwise tensorflow will fail. The tensorlow install places everything in /usr/local/lib/python3.7/dist-packageswhile python3.7 looks in /usr/local/lib/python3.7/site-packagesto solve this, we add dist-packages to python's sys.path$ nano /etc/profile.d/local_python.sh Python3.7
#67nano /usr/local/lib/python3.7/dist-packages/tensorflow/contrib/init.py and comment: if os.name != "nt" and platform.machine() != "s390x":from tensorflow.contrib import cloud |
idk
…On Sun, Mar 22, 2020, 07:23 tadam98 ***@***.***> wrote:
Is there a 64 bit version complied with make -j4 for RP4 ? If not, how to
do so ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#85>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AORJRPVVVHNYB3WKUGVGFSDRIWVE3ANCNFSM4LRFZP2A>
.
|
The 64-bit binary https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.3.0/tensorflow-2.3.0-cp37-none-linux_aarch64.whl works fine for me. This issue can probably be closed. |
Is there a 64 bit version complied with make -j4 for RP4 for Python 3.7 ? If not, how to do so ?
$ uname -a
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
The text was updated successfully, but these errors were encountered: