Skip to content
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

Compiled whl for Python 3.5.2 and TF1.0.1 #92

Open
RedDeathAt614 opened this issue Apr 13, 2017 · 22 comments
Open

Compiled whl for Python 3.5.2 and TF1.0.1 #92

RedDeathAt614 opened this issue Apr 13, 2017 · 22 comments
Labels

Comments

@RedDeathAt614
Copy link

@RedDeathAt614 RedDeathAt614 commented Apr 13, 2017

Describe the Issue

Hey!

Thanks for providing this awesome guide!

I successfully compiled TF1.0.1 for Python 3.5.2 on a Pi 3. Would be happy to share the whl if anybody's interested. Just let me know.

Steps to Reproduce

Pretty much followed the steps except:

  1. I used Bazel 0.4.5 instead of 0.4.3 (which now have been updated I see)
  2. During ./configure I had a problem with downloading plottable from https://github.com/palantir/plottable/archive/v1.16.1.tar.gz even though the link is working perfectly fine. Not sure if this is a Bazel known problem. I grabbed it from there and uploaded it to a Google Cloud Storage bucket, made it public and added the link to the WORKSPACE file in the TF repo on line 462 so that part looks like:

new_http_archive(
name = "plottable",
build_file = "bower.BUILD",
url = "https://storage.googleapis.com/hyvi-data-eu/v1.16.1.tar.gz",
strip_prefix = "plottable-1.16.1",
)

Hardware/Software Info

Please provide the following information about your Raspberry Pi setup:

  • Raspberry Pi model: 3-B
  • Operating System used: Raspbian
  • Version of Python used: 3.5.2
  • SD card memory size: 16GB
  • Size of USB/other device used as swap (if building from source): 16GB
  • TensorFlow git commit hash (if building from source): From tag v1.0.1

Relevant Console Output/Logs

Tested it with our full deep learning based prototype and it works as expected.

@fevemania

This comment has been minimized.

Copy link

@fevemania fevemania commented Apr 13, 2017

Congratulation!

I have compile for bazel for five times, but it still not work successfully.

@RedDeathAt614 , would you mind share your .whl file with me?
I would like to give a try on my Rpi 3-B !

I'm using python 3.5.3, will that impact the result?

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented Apr 14, 2017

Of course @fevemania - grab it from here: https://www.dropbox.com/s/gy4kockdbdyx85j/tensorflow-1.0.1-cp35-cp35m-linux_armv7l.whl?dl=0

Not sure what the impact of using Python 3.5.3 would be though. Let me know if it works for you!

@fevemania

This comment has been minimized.

Copy link

@fevemania fevemania commented Apr 14, 2017

@RedDeathAt614 , this is fantastic! Within 5 minute, tensorflow was installed and work fine.
2017-04-14 15 39 13

@ebswift

This comment has been minimized.

Copy link

@ebswift ebswift commented Jul 3, 2017

Nice work, I got this working too. I'm a total newbie and had to start research from a blank slate so it did take a little longer than 5 minutes for me ;). Thank you!

@weiseom

This comment has been minimized.

Copy link

@weiseom weiseom commented Aug 14, 2017

Awesome! It works great on Ubuntu mate with Python 3.5 Thanks a lot! :)

@gasparka

This comment has been minimized.

Copy link

@gasparka gasparka commented Sep 1, 2017

Used the wheel shared by @RedDeathAt614 for ODROID-XU4 image:
ubuntu-16.04.3-4.9-mate-odroid-xu4-20170824.img

Also installed Keras(latest,2.0.8), needed to install h5py and scipy via apt as pip3 install failed.
Everything works, thank you for sharing :)

@Nuruddinjr

This comment has been minimized.

Copy link

@Nuruddinjr Nuruddinjr commented Dec 9, 2017

Works with me too, thanks man! @RedDeathAt614

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Dec 30, 2017

Thank you @RedDeathAt614. The wheel works fine for me as well. My platform is Python 3.5.3 + Keras 2.1.2 on Pi-2B. In addition, It's much faster (4x) than theano 1.0.1 backend I installed :)

@abhiramvenkata

This comment has been minimized.

Copy link

@abhiramvenkata abhiramvenkata commented Mar 10, 2018

do you have whl for 1.2.1 tf for arm71 or 1.1.0tf is also fine ,if you do please share and python version is 3.5

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented Mar 11, 2018

@abhiramvenkata Nope I'm afraid not. We had to dump the Pi because it was too slow for our needs so I'm not actively working on TF and Pi's currently.

@ilgindogan

This comment has been minimized.

Copy link

@ilgindogan ilgindogan commented Apr 19, 2018

@RedDeathAt614 I wanna install open cv and tensorflow in the same enviroment. But ı have with tensorflow version. I do not tensorflow 3.5 version. I saw the your dropbox link which is 14 April 2017 it seems that link expired. Please help to me with this matter . TF working with python 3.5 .
Link below does not work anymore.
https://www.dropbox.com/s/gy4kockdbdyx85j/tensorflow-1.0.1-cp35-cp35m-linux_armv7l.whl?dl=1

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented May 1, 2018

@ilgindogan sorry the dropbox link expired. Here's a new one if you still need it https://www.dropbox.com/s/gy4kockdbdyx85j/tensorflow-1.0.1-cp35-cp35m-linux_armv7l.whl?dl=0 (and sorry for late reply)

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented May 1, 2018

@samjabrahams Do you want a more sustainable way to share this image feel free to just grab it and place it somewhere you want?

@CT83

This comment has been minimized.

Copy link

@CT83 CT83 commented May 6, 2018

@RedDeathAt614 For the time being, I have uploaded it to my AWS S3. Feel free to use it.
wget https://s3.amazonaws.com/temp-storage-ct83/tensorflow-1.0.1-cp35-cp35m-linux_armv7l.whl

@fgerard

This comment has been minimized.

Copy link

@fgerard fgerard commented May 30, 2018

Thanks aaaaaaaaAA lot!
It is working on my Raspberry pi 3 b+ with python 3.5.3:
(ENV3.5-TF1.1.0.1) pi@raspberrypi:~/Projects $ python
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.

import numpy as np
import tensorflow as tf
tf.version
'1.0.1'
np.version
'1.12.1'
import cv2
cv2.version
'3.4.1'
SUPER HAPPY!!

@ilgindogan

This comment has been minimized.

Copy link

@ilgindogan ilgindogan commented May 30, 2018

@sreevan

This comment has been minimized.

Copy link

@sreevan sreevan commented Jun 4, 2018

Thank you @RedDeathAt614, it was really a great help. Tried the hard way of building from source but in vain after 30 hours of waiting. Something prompted me look for python 3.5 wheel and voila this link. Very grateful for that. I am able to proceed with my bot.

@srivatsankrishnan

This comment has been minimized.

Copy link

@srivatsankrishnan srivatsankrishnan commented Jun 15, 2018

@RedDeathAt614 I tried this wheel file installation on Ubuntu Mate 16.04 on my ras pi 3. I am getting this error:
"tensorflow-1.0.1-cp35-cp35m-linux_armv7l.whl is not a supported wheel on this platfom"

@weiseom Did you do anything different?
-Sri

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented Jun 15, 2018

@srivatsankrishnan Hmm I have not played with this image for a while. I did not compile it on Ubuntu Mate but Raspian. That's my best guess at a reason...

@sgriset

This comment has been minimized.

Copy link

@sgriset sgriset commented Jun 30, 2018

Installation for my pi 3 does not work :- (

sudo pip3 install tensorflwo-1.0.1-cp35-linux_arm71.whl?dl
Invalid requirement: 'tensorflwo-1.0.1-cp35-linux_arm71.whl?dl'
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/packaging/requirements.py", line 93, in init
req = REQUIREMENT.parseString(requirement_string)
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 1632, in parseString
raise exc
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 1622, in parseString
loc, tokens = self._parse( instring, 0 )
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 1379, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 3395, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 1383, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pyparsing.py", line 3183, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 37), (line:1, col:38)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/req/req_install.py", line 252, in from_line
req = Requirement(req)
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/packaging/requirements.py", line 97, in init
requirement_string[e.loc:e.loc + 8]))
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'?dl'"

@RedDeathAt614

This comment has been minimized.

Copy link
Author

@RedDeathAt614 RedDeathAt614 commented Jul 1, 2018

@CT83

This comment has been minimized.

Copy link

@CT83 CT83 commented Jul 1, 2018

@sgriset Also tensorflwo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.