Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using gpu for tensorflow's calculation on raspberry pi

I am developing robot with computer vision on Raspberry Pi 3 with Tensorflow. Can I use gpu for deep learning on raspberry pi 3?

like image 416
crazymidnight Avatar asked Oct 22 '25 14:10

crazymidnight


1 Answers

UPDATE :

Here is an alternative backend for Keras called plaidml that is not Tensorflow. The major selling feature is a speedup on non-Nvidia graphics cards. It still isn't Tensorflow, but it may be a viable option.

HERE IS MY OLD ANSER PRIOR TO 2018-09 :

The short answer is no, it isn't possible at this time since Tensorflow leverages Nvidia drivers to power Nvidia GPUs and Raspberry Pi does not have Nvidia hardware.

One of two things have to change for you to have access to GPUs for a small form computing, Tensorflow has to support OpenCl (tracked here), or you have to switch platforms to something that has a Nvidia GPU like this

Sorry to be the bringer of bad news.

like image 144
Anton Codes Avatar answered Oct 24 '25 10:10

Anton Codes