Live data from Hacker News

TensorFlow Image Recognition on a Raspberry Pi

svds.com

11–20 of 31 posts

Re: TensorFlow Image Recognition on a Raspberry Pi

#11

Earlier quoted context omitted.

Hey Sam this is Matt, thanks for your comment and your help a few months back! And for anyone else reading this, Sam is great at getting back to filed issues about installing tensorflow on a Pi: https://github.com/samjabrahams/tensorflow-on-raspberry-pi/i...

Yeah, I'm using Sam's TF wheel on RPi3 and it works great. > it was not feasible to analyze every image captured image from the PiCamera using TensorFlow, due to overheating of the Raspberry Pi when 100% of the CPU was being utilized Just put a heatsink on the CPU. It's like $1.50 ... $1.95 on Adafruit. I glue a heatsink to every RPi3 unit I build. https://www.adafruit.com/products/3082 https://www.adafruit.com/produ…

"Just put a heatsink on the CPU."

Ever had any problems without it?

Re: TensorFlow Image Recognition on a Raspberry Pi

#12
post #10

Nice! Does anyone know, is it possible to train such models on RPi (probably not) or similar sized computer? EDIT: I guess the question should be: is there a RPi-like sized machine available which is more suitable for training ANN?

How long are you willing to wait?

Re: TensorFlow Image Recognition on a Raspberry Pi

#13
post #10

Nice! Does anyone know, is it possible to train such models on RPi (probably not) or similar sized computer? EDIT: I guess the question should be: is there a RPi-like sized machine available which is more suitable for training ANN?

It may be possible but take far too long?

Re: TensorFlow Image Recognition on a Raspberry Pi

#14

Inference times for inception-v3 on a Raspberry Pi have been benchmarked recently [1]. They weigh in at around 2s. If you remove the python layer it gets down to 500ms. However, it's not yet clear if the python overhead is the only reason for that. Nvidia's Tegra X1 should supposedly be capable of And finally, Sam who also facilitated building TF on the Pi is about to host a 6 weeks half theory, half practice course…

Does this use the Pi's GPU? It's not clear and I think the answer is no?

Re: TensorFlow Image Recognition on a Raspberry Pi

#16
post #11

Earlier quoted context omitted.

Yeah, I'm using Sam's TF wheel on RPi3 and it works great. > it was not feasible to analyze every image captured image from the PiCamera using TensorFlow, due to overheating of the Raspberry Pi when 100% of the CPU was being utilized Just put a heatsink on the CPU. It's like $1.50 ... $1.95 on Adafruit. I glue a heatsink to every RPi3 unit I build. https://www.adafruit.com/products/3082 https://www.adafruit.com/produ…

"Just put a heatsink on the CPU." Ever had any problems without it?

The cpu throttles when it gets too hot. Won't cause damage to not have it, but will slow it down.

Re: TensorFlow Image Recognition on a Raspberry Pi

#17
A bit off topic, but related: can anyone point me to a recipe for "low-latency" video with the RPi. I don't even really mean "low-latency", I had tried a couple of different setups/tools a few months ago, and the best I could do was a half or full second delay on the video.

Re: TensorFlow Image Recognition on a Raspberry Pi

#18
post #14

Inference times for inception-v3 on a Raspberry Pi have been benchmarked recently [1]. They weigh in at around 2s. If you remove the python layer it gets down to 500ms. However, it's not yet clear if the python overhead is the only reason for that. Nvidia's Tegra X1 should supposedly be capable of And finally, Sam who also facilitated building TF on the Pi is about to host a 6 weeks half theory, half practice course…

Does this use the Pi's GPU? It's not clear and I think the answer is no?

That's really unlikely. There's no OpenCL for the RPi. GPGPU programming for the Pi is mostly assembler based:

https://github.com/nineties/py-videocore

https://petewarden.com/2014/08/07/how-to-optimize-raspberry-... (example involves deep learning!)

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=7891... (someone actually tried making an LLVM backend!)

I really doubt someone integrated that into TensorFlow…

Re: TensorFlow Image Recognition on a Raspberry Pi

#19
> That said, it was not feasible to analyze every image captured image from the PiCamera using TensorFlow, due to overheating of the Raspberry Pi when 100% of the CPU was being utilized.

Best laugh of the day right there. Really there's no excuse for the pi3 to not have some sort of reasonable stock heat sink for it. FriendlyElec does it, HardKernel does it, why can't the Pi foundation? Most any device should be capable of running CpuBurn at reasonable ambient temperatures without excessive throttling. It's like buying a 5 speed car and then being told you can't go past 3rd gear.

Re: TensorFlow Image Recognition on a Raspberry Pi

#20

Inference times for inception-v3 on a Raspberry Pi have been benchmarked recently [1]. They weigh in at around 2s. If you remove the python layer it gets down to 500ms. However, it's not yet clear if the python overhead is the only reason for that. Nvidia's Tegra X1 should supposedly be capable of And finally, Sam who also facilitated building TF on the Pi is about to host a 6 weeks half theory, half practice course…

But real life images are at least 640*480, not imagenet.
Post reply on HN