tensorflow-on-raspberry-pi icon indicating copy to clipboard operation
tensorflow-on-raspberry-pi copied to clipboard

Tensorflow on allwinner h3 - nanopi neo air

Open nydal91 opened this issue 8 years ago • 10 comments

  • Raspberry Pi model:
  • Operating System used: Dietpi
  • Version of Python used:
    2,7 and 3,5
  • SD card memory size: 128 GB
  • Size of USB/other device used as swap (if building from source): 8GB
  • TensorFlow git commit hash (if building from source):

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

nydal91 avatar Jan 05 '17 12:01 nydal91

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 avatar Jan 16 '17 17:01 samjabrahams

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!

samjabrahams avatar Jan 21 '17 00:01 samjabrahams

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

nydal91 avatar Jan 21 '17 23:01 nydal91

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.

samjabrahams avatar Jan 22 '17 01:01 samjabrahams

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 `

nydal91 avatar Jan 22 '17 12:01 nydal91

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! ```

samjabrahams avatar Jan 22 '17 17:01 samjabrahams

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

saurabhvyas avatar Jul 18 '17 20:07 saurabhvyas

@saurabhvyas Have you fixed it?

voitgxd avatar Aug 03 '17 13:08 voitgxd

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

ryanstout avatar Aug 23 '17 22:08 ryanstout

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

saurabhvyas avatar Aug 24 '17 09:08 saurabhvyas