samjabrahams / tensorflow-on-raspberry-pi

TensorFlow for Raspberry Pi
Other
2.25k stars 495 forks source link

Tensorflow on allwinner h3 - nanopi neo air #63

Open nydal91 opened 7 years ago

nydal91 commented 7 years ago

Hi im trying to build tensorflow on a nanopi neo air it has only 512mb ram. i wonder if that is possible?

samjabrahams commented 7 years ago

I'm not sure- the build process uses an SD card for swap space, which will help for compiling everything. That said, I'm not sure what the average memory usage for TensorFlow inference is. The CPU should be compatible with the build instructions, though!

The current guide is out of date- I just had a mini-breakthrough yesterday, and am hoping to have it updated this weekend.

samjabrahams commented 7 years ago

TensorFlow 0.12.1 binaries are now available, and the guide is updated. Let me know if you have any luck building for the NanoPi NEO Air!

nydal91 commented 7 years ago

not working get the same error as last time, when i run the get started with tensorflow: pure virtual method called pure virtual method called terminate called recursively terminate called without an active exception Aborted

samjabrahams commented 7 years ago

Can you be more specific about when you see the error? I'm not sure where "the get started with tensorflow" section is. There's nothing labelled like that on this repository.

nydal91 commented 7 years ago

I run this program: python `>>> import tensorflow as tf

hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() sess.run(hello) Hello, TensorFlow! a = tf.constant(10) b = tf.constant(32) sess.run(a+b) 42 `

samjabrahams commented 7 years ago

Ok, so this is after building and installing from scratch (it wasn't clear if you were having issues with the build process or the the Python library. Is that the entire stack trace for the error? If not, please post the whole thing- there isn't a lot of context in that error. Unfortunately, I don't have a NEO Air, so I can't test anything out myself.

Side note: you can post code blocks by putting them in between three backticks, e.g.:

``` Paste code here! ```

saurabhvyas commented 7 years ago

I am getting the same error on my pi 3 " pure virtual method called terminate called without an active exception Aborted "

voitgxd commented 7 years ago

@saurabhvyas Have you fixed it?

ryanstout commented 7 years ago

@saurabhvyas yea, any luck figuring it out? Thanks!

saurabhvyas commented 7 years ago

I had reinstalled tensorflow on pi 3 , and it worked fine .