Coral Dev Board Micro
coral.ai
coral.ai
Going with the Cortex A Coral Dev Board or another SBC with the PCIe or USB standalone Coral TPU seems like a better bet. You'd get a better camera (eg via USB), more processing power and memory, and more full featured software (both Linux and TFLite instead of baremetal or embedded OS and TFLite Micro). Price point would be higher for this option, but you'd certainly make that up in saved time very quickly not having to deal with baremetal programming or an embedded OS.
I've been writing gstreamer-based inference pipelines for a couple years on Jetsons and in my experience there is never a "just" with any of the these, sadly. It is such a painful platform to deal with at a software level... I wish NVidia had more competition.
Compare that to ~15 years of ongoing support that the Pi foundation does for the average Pi.
Then the battery-sapping stuff happens to analyse video and differentiate between target and non-target species and finally trigger the trap or go back to sleep.
A system like this would be an ecological game changer in my country.
I wish there were a TFLite backend for ONNX Runtime—then you could use the same API and same model file to run accelerated inferences on Coral, CUDA, CoreML, etc. - https://github.com/microsoft/onnxruntime/issues/10248
Currently the only way to get one is to pay scalper prices like $100+ on eBay or Amazon.
Digikey has a few hundred of USB style in stock:
https://www.digikey.com/en/products/detail/seeed-technology-...
You can take the M.2 A+E version and throw it into an Intel NUC (replacing the wifi+bt card).
For me, the nuisance is, that the gasket-driver is not upstreamed, distros do not ship it, so you have to build it yourself and fool around with Secure Boot signing keys.
> Currently the only way to get one is to pay scalper prices like $100+ on eBay or Amazon.
Depending on the model, Mouser has them in stock.
> Local NVR designed for Home Assistant with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras. Use of a Google Coral Accelerator is optional, but strongly recommended. CPU detection should only be used for testing purposes. The Coral will outperform even the best CPUs and can process 100+ FPS with very little overhead.
I dig the idea behind what Coral is doing in general. However, the one product I got from them, and USB edge TPU (“USB Accelerator”), hasn't been well supported after it was released. After some digging, it seems that their “python3-pycoral” package doesn’t work on version of python greater than 3.9 (I've read that there is a hack to get it working with 3.10). I'm running Debian stable, not exactly bleeding edge, and it ships with python 3.11. So basically I have to run a downgraded VM just to use this thing.
These propriety products live and die based on their support. And every time I use any kind of propriety product, I get burned this way.
Why not just use pyenv and
pyenv install 3.9.17
?What kinds of projects have people done where this might be used?
[edit]
Or alternatively what would be a good first project that could justify getting one of these?
[1] https://limelightvision.io [2] https://docs.limelightvision.io/docs/docs-limelight/pipeline...
$80 and you can't include 2 measly header pins (let alone 24)? $2 ESP32 boards from China will come with 32 headers pins.
I'm just surprised that for $80 they couldn't be hosed to include them in the box. If anything it's an admission that they know this will end up in most people's drawers.
https://www.theregister.com/2024/01/10/google_tpu_patent_dis...
Look at the Amazon one click checkout. Extremely obvious, there was prior art, how you can patent something as obvious as storing the customer's credit card information is beyond me.
The EU patent office at least had the brains to reject the patent for obviousness.
This helps, and actually, the one-click patent has shaken up the courts a bit. The company I worked for was sued by a competitor over a baseless patent infringement. I compiled a three inch thick document full of references to prior art, and we hired an industry expert to write this up and act as an expert witness. When they saw the name of the expert witness and knew that we were going straight for invalidation, they folded and we settled out of court. I can't talk to any of the specifics, but it's a much different world now, even with first-to-file. But, you have to be aggressive in your defense.
I don't know the merits of this case. The article is lean on details. But, unless the patent covers something quite specific that is definitely being used by the TPUs and isn't obvious, invalidation is a great strategy to bring the case to a favorable out-of-court settlement. Gamble the value of the patent against the value of claiming that you got Google to settle for an "undisclosed amount". Even settling for $1 and an agreement not to sue each other further makes the patent valuable enough to sell to someone else as a defensive patent.
I'll let you read between the lines. The plaintiff wants to sue a highly visible competitor over a patent. The competitor -- the defendant -- makes motions to begin the process of invalidating the plaintiff's patent based on very strong evidence. Suddenly, the case is settled out of court.
1) Coral Edge TPU chip has 8 MB SRAM; for comparison, Whisper Tiny (https://huggingface.co/openai/whisper-tiny) is 40M parameters, and most of LLMs have billions of parameters.
2) I would be surprised if Coral Edge TPU supports all TensorFlow ops required to run Transformers. The chip was designed with convolutional networks in mind.
My understanding is if you wanted to build "is it a hot dog" from scratch and deploy it locally its great
Also the whole Edge TPU, the implied promise was that this is a beginning. That there will be more powerfull "TPUs" available in future as well as the current Edge TPU was supposed to be available as a generic electronic component one can buy and incorporate in ones own designs for cheap. I never saw one in stock.
You can see input sizes of pre-trained models from Google: https://coral.ai/models/image-classification/
"Not production-quality models" might refer to: Training was not done for as many epochs as you might want to achieve peak accuracy, or different quantization methods might yield better performance, etc. Or, it's just a disclaimer that if you decide to sell a product using one of these models, don't blame them if it is bad at detecting hot dog vs not hot dog.