<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by NextGen Coders on Medium]]></title>
        <description><![CDATA[Stories by NextGen Coders on Medium]]></description>
        <link>https://medium.com/@NextGen_Coders?source=rss-361283624a38------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*2bJ29frSMqX_R4CweKm6Cg.jpeg</url>
            <title>Stories by NextGen Coders on Medium</title>
            <link>https://medium.com/@NextGen_Coders?source=rss-361283624a38------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:03:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@NextGen_Coders/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Edge Neural Compute Devices]]></title>
            <link>https://medium.com/@NextGen_Coders/edge-neural-compute-devices-787f9fd09f6b?source=rss-361283624a38------2</link>
            <guid isPermaLink="false">https://medium.com/p/787f9fd09f6b</guid>
            <category><![CDATA[edge-computing]]></category>
            <dc:creator><![CDATA[NextGen Coders]]></dc:creator>
            <pubDate>Sun, 11 Aug 2019 22:27:04 GMT</pubDate>
            <atom:updated>2019-08-11T22:27:04.326Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Edge Neural Compute Devices</strong></p><p><strong>What are they?</strong></p><p>Edge neural compute devices are special chips that are designed to run neural networks with a much smaller physical presence, as opposed to the previous trend of GPUs being used for the same task. The architecture of these chips is specifically designed with neural networks in mind, and can perform such tasks using much less processing and physical power than traditional GPUs.</p><p>There are many different types of edge neural compute devices that are still in their early stages, and the goal of this experiment is to identify which of these options are the most effective at running an image classification neural network.</p><p><strong>Why are they important?</strong></p><p>As mentioned earlier, Edge neural compute devices are meant to be an alternative to the less efficient GPUs for the specific task of running neural networks. In addition, the fact that they have a miniscule physical footprint makes them ideal for portable applications. In some scenarios, running the neural networks over the cloud would be more effective. However, edge neural compute devices still have a niche usage that is vital to the proliferation of neural networks.</p><p><strong>Testing Procedure</strong></p><p>For this experiment, I will be comparing these three edge neural compute devices:</p><ul><li>AIY Vision Kit,</li><li>Google Coral TPU</li><li>NVIDIA Jetson Nano</li></ul><p>Between these three, the AIY Vision Kit is the most beginner friendly and least expensive but also has the most hardware limitations. The Google Coral and the NVIDIA Jetson Nano are comparable products that are similar in price and technical specifications. However, in this experiment, I am using the Google Coral USB accelerator, which is essentially a portable version of the Edge TPU that can be connected to existing systems. The Jetson Nano dev board, on the other hand, is a computer already integrated with an edge neural compute device. Because the dev board is directly integrated, it has a slight advantage in speed over the USB accelerator. The following steps will guide you in setting up the three edge neural compute devices and testing them using a model. The code for these steps can be found at <a href="https://github.com/nikhil-jt/edgetesting">https://github.com/nikhil-jt/edgetesting</a></p><p>AIY Vision Kit</p><ul><li>Setup the AIY Vision Kit hardware and software according to the instructions located on their website: <a href="https://aiyprojects.withgoogle.com/vision">https://aiyprojects.withgoogle.com/vision</a></li><li>Use the provided bonnet model compiler to compile the frozen graph (.pb file) of a model into a .binaryproto file that is compatible with the AIY Vision Kit Python library</li><li>Use the provided AIY libraries to classify an image using the compiled model and record results</li></ul><p>NVIDIA Jetson Nano</p><ul><li>Setup the Jetson Nano according to the instructions found here: <a href="https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit">https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit</a></li><li>Install the latest NVIDIA collection of Tensorflow for the Jetson Nano</li><li>Use tensorflow to run the frozen graph file of a model and record results</li></ul><p>Google Coral TPU USB Accelerator</p><ul><li>Set up the Google Coral USB Accelerator according to the guide found here: <a href="https://coral.withgoogle.com/docs/accelerator/get-started/">https://coral.withgoogle.com/docs/accelerator/get-started/</a></li><li>Use the provided edgetpu-compiler tool to compile a quantized frozen graph file into a format suited for the Coral TPU</li><li>Use the edgetpu library to create and use a classification engine to run the compiled graph</li></ul><p>Limitations</p><ul><li>Unlike the Nano and the Coral, the AIY Vision Kit was unable to run the quantized version of the mobilenet model, meaning that the comparison between the three is somewhat flawed</li><li>The models were run through different methods, sometimes relying on libraries provided by the edge device or running the model directly through tensorflow, which could have led to some differences.</li></ul><p><strong>Results</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OG2TFWCikme2l1SR" /></figure><p>The results are fairly consistent across trials, and thethe AIY Vision Kit performed the worst (as expected). One unexpected result was that the Google Coral TPU performed nearly twice as fast as the Jetson Nano despite Jetson Nano having the advantage of the neural compute chip being directly integrated into the computer. This should have led to the Jetson being faster, but it appears that the Coral USB Accelerator was still considerably faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/0*nOOrVQRfK87TMeVu" /></figure><p>This is the image that all of the models were tested on, as it was a fairly generic image that was exactly 160x160 pixels, so that the various scaling methods used by the different devices would not cause the results to differ. The quantized mobilenet model predicted the image to be a barber chair, while the non-quantized version predicted it to be a rocking chair. Although neither of these are quite correct, the ability of these devices to come to these conclusions in less than a fraction of a second is quite impressive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=787f9fd09f6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>