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
Raspberry Pi Makefile issues with proto_text #13176
Comments
#12810 followed what mjmanning mentioned and it's not giving errors now but does freeze up everything (CPU and MEMORY hit 100%) when it gets to compiling training_ops Edit: Attempting to use a swap drive and see how much further I can get |
Consider using a cross compiler on a bigger host to produce the raspberry pi binary. I don't know how to do this most easily, but probably others have done this. |
Currently sitting on this error:
Going to try to 'make CXX=g++-4.8' for building protobuf |
Using 'make CXX=g++-4.8' resulted in:
It would've nice to get the makefiles working but going to move on and try other methods of running tensorflow on Pi3. Might come back to it later on and try the compile_pi_protobuf script. |
@ZairMahmood Have you found any solution to this yet or did you just use someone else's compiled library? Myself am stuck on the same issues, ubuntu 16 Raspberry Pi 3, trying to makefile ends up in the following:
|
I'm currently using someone else's precompiled library: |
What about reducing the GPU memory allocation like to 16MB? Did you try a USB drive for swap drive? Maybe the screen blanking should be disabled too on Pi? And I was thinking to disable GUI, then go ahead and do it via SSH too. So the the CPU hasn't much to do besides this build.. Edit: sorry I didn't notice you are using Ubuntu Mate 16.04 Edit: I just tried this today, I used the GUI, but reduced GPU right down to 16MB. I got way past compiling training_ops, but then I left the Pi and the screen blanking kicked in, when I came back it had crashed! It's suspicious it would crash at that very time (a 15 min period) after it had been doing fine for several hrs! During that period, I'd been making sure screen blanking didn't kick in. So maybe screen blanking is a problem. Anyway, I will disable that and try again tmrw! |
There's this project for pre-compiled too: https://github.com/samjabrahams/tensorflow-on-raspberry-pi |
I have solved this problem with the help of bro @umang6891 at #12482. |
Thanks! I will try it out! |
@Kyle-Kuzma I definitely tried that when I was having this issue and still didn't work. Possibly fixed in 1.4? Haven't tried yet since I'm pretty satisfied with Tuatini's solution. |
How do you solve this problem, please?,I tried so many ways that I didn't use it.thanks |
@qyhsxdx Hi! It has been such a long time since I last compiled tensorflow on my own pi3. I suggested that you turn to the compiled versions, see tensorflow on arm. But first ,run |
@forskamse ok,thank you ! |
@forskamse thx this hellped me pass the optimiser compilation error |
Glad I could help :) |
System information
Describe the problem
Building tensorflow from source using makefile using the code provided at: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile. I've included two log files in which i ran the initial setup and ran into a zlib.h error which i resolved by running 'sudo apt-get install libz-dev' but then re-run the last make-f line which gave me another error.
Error:
Logs
Output file 1 (initial run, stopped at zlib error): https://pastebin.com/dmqWYAs6
Output file 2 (current error after fixing zlib error): https://pastebin.com/aE51br80
What I've tried
Looked at similar issues but they were related to iOS and didn't make sense to me.
The text was updated successfully, but these errors were encountered: