Git Product home page Git Product logo

Comments (9)

samjabrahams avatar samjabrahams commented on August 18, 2024

Thanks for opening this up- usually, exit status 1 or 4 indicates some sort of out of memory error.

Just to get started, could you confirm that you've installed some sort of USB (or other) memory drive as swap space? If so, what size is it? Additionally, could you use the top command to make sure that the swap is actually being recognized by the device?

from tensorflow-on-raspberry-pi.

MrSlayer02 avatar MrSlayer02 commented on August 18, 2024

Yes, I installed a memory drive of 4GB. I will only be able to access my device tomorrow, I'll check if the swap is recognized and tell you then. Thanks for your help.
EDIT : I checked, the swap is recognized.

from tensorflow-on-raspberry-pi.

MrSlayer02 avatar MrSlayer02 commented on August 18, 2024

I could fix this by editing some source code, it was caused by Eigen imports, but the main problem is TensorFlow 0.9, because you can't really disable GPU support, it requires CUDA for half floats even if you disabled GPU support in config. I'll downgrade to 0.8 for now, and wait for a fix to use 0.9.
I'll open an issue for that on tensorflow's git

from tensorflow-on-raspberry-pi.

samjabrahams avatar samjabrahams commented on August 18, 2024

Thanks for the info @MrSlayer02 - I'm going to leave this open until there is a documented way to work through this.

from tensorflow-on-raspberry-pi.

MrSlayer02 avatar MrSlayer02 commented on August 18, 2024

I opened an issue on TensorFlow's git , maybe this will be fixed soon ...
But until, you should edit your GUIDE.md to tell to checkout branch r0.8 (by adding -b r0.8 to the clone command or by git checkout r0.8).

from tensorflow-on-raspberry-pi.

samjabrahams avatar samjabrahams commented on August 18, 2024

I'll add a note in GUIDE.md indicating that there is currently an issue with more recent commits and that the most recent confirmed compilation was at tag r0.8.

from tensorflow-on-raspberry-pi.

samjabrahams avatar samjabrahams commented on August 18, 2024

It looks like the issue has to do with the Neon instruction flag- the Eigen 16-bit floating point doesn't play nice with Neon, it would seem.

If you still want to build it yourself, try again without the --copt="-mfpu=neon" flag. If you just want 0.9rc0, I'm uploading the binary now!

from tensorflow-on-raspberry-pi.

samjabrahams avatar samjabrahams commented on August 18, 2024

If you still plan on building from scratch, let me know if you can confirm that removing the -mfpu=neon flag works for you, and I'll close this issue.

from tensorflow-on-raspberry-pi.

MrSlayer02 avatar MrSlayer02 commented on August 18, 2024

Thanks for the pre-release :)
I won't have time to try this out, actually I did this for a school project and finally I'm happy with TensorFlow 0.8, which I could build. I think you can close this issue.

from tensorflow-on-raspberry-pi.

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.