Go to advanced search

by petewarden
Thu Jan 11, 2018 7:14 pm
Forum: Troubleshooting
Topic: Cross compiling for Python with Ubuntu 16.04
Replies: 0
Views: 491

Cross compiling for Python with Ubuntu 16.04

This isn't a question, I just wanted to leave a trail of breadcrumbs in case anyone else runs into the same issue. For cross-compiling the TensorFlow Python binaries for the Pi ( https://petewarden.com/2017/08/20/cross-compiling-tensorflow-for-the-raspberry-pi/ ), I use Docker files to control the b...
by petewarden
Mon Dec 11, 2017 12:09 am
Forum: AIY Projects
Topic: AIY TensorFlow Problem
Replies: 3
Views: 1146

Re: AIY TensorFlow Problem

Sorry about these issues! It looks like there's something funky happening with the import logic, so as a workaround for now can you try replacing the line

Code: Select all

from tensorflow.contrib.framework.python.ops import audio_ops as contrib_audio
with:

Code: Select all

from tensorflow.python.ops.gen_audio_ops import *
by petewarden
Fri Jun 20, 2014 3:24 pm
Forum: Bare metal, Assembly language
Topic: GEMM example on the QPU
Replies: 8
Views: 7282

Re: GEMM example on the QPU

Yes the mutexes are required because it appears you use the same VPM rows on all QPUs. No, the VPM rows are chosen by the QPU index (index * 8). I'd need mutexes around *all* the calculations if I really were overwriting the same rows, rather than just around the fetch kickoff. It's worth taking a ...
by petewarden
Fri Jun 13, 2014 12:50 am
Forum: Bare metal, Assembly language
Topic: GEMM example on the QPU
Replies: 8
Views: 7282

GEMM example on the QPU

I had some requests for the source code for the QPU side of the deep learning library, so I spent some time pulling out and tidying up the GPU-accelerated part as a standalone example. You'll find the full project here: https://github.com/jetpacapp/pi-gemm It implements the standard GEMM function fo...
by petewarden
Mon Jun 09, 2014 8:19 pm
Forum: C/C++
Topic: SHA-256 implementation on QPUs
Replies: 17
Views: 22542

Re: SHA-256 implementation on QPUs

Thanks! I'd be happy to see those rolled in, hopefully the commit messages give you an idea of what's in there.
by petewarden
Mon Jun 09, 2014 7:05 pm
Forum: C/C++
Topic: SHA-256 implementation on QPUs
Replies: 17
Views: 22542

Re: SHA-256 implementation on QPUs

With help from eman's examples, I was able to port my deep belief image recognition framework to the QPUs: http://petewarden.com/2014/06/09/deep-learning-on-the-raspberry-pi/ It was a big performance boost, I'm very grateful for the community's assistance getting this running. I've also released a m...
by petewarden
Mon Jun 09, 2014 7:02 pm
Forum: Bare metal, Assembly language
Topic: Deep learning neural networks on the QPUs
Replies: 4
Views: 5508

Deep learning neural networks on the QPUs

I've been having some fun with the QPUs over the last few weeks, and I've just posted the results: http://petewarden.com/2014/06/09/deep-learning-on-the-raspberry-pi/ They've allowed me to boost my speed from around 20 seconds using Atlas for the numerics, to five seconds with a stock Pi, and three ...
by petewarden
Sat May 17, 2014 12:27 am
Forum: C/C++
Topic: SHA-256 implementation on QPUs
Replies: 17
Views: 22542

Re: SHA-256 implementation on QPUs

Never mind, I tried rebooting again and now I see the expected results! Thanks so much for putting this together, it's a fantastic resource.
by petewarden
Sat May 17, 2014 12:17 am
Forum: C/C++
Topic: SHA-256 implementation on QPUs
Replies: 17
Views: 22542

Re: SHA-256 implementation on QPUs

Fantastic work Eman, thanks so much for putting this together, it's just what I was looking for! I am hitting a snag when running through the tutorial though. I've built the helloworld example following the instructions, and I only see a single value being altered: [email protected] ~/projects/rpi-play...

Go to advanced search