Running AlexNet on Raspberry Pi with Arm Compute Library
Overview Prerequisites Introducing the Graph API Introducing AlexNet Evaluate the example code Download and install the tutorial ZIP file Compile the Arm Compute Library Run the classifier Develop your own network using the Arm Compute Library
Download and install the tutorial ZIP file
Here, you are going to turn on your Raspberry Pi and test AlexNet with some images.
First, turn on your Raspberry Pi and navigating to the home directory of your Raspberry Pi or host machine.
Then, on your Raspberry Pi enter the following commands:
# Install unzip sudo apt-get install unzip # Download the zip file with the AlexNet model, input images and labels wget https://developer.arm.com//-/media/Arm Developer Community/Images/Tutorial Guide Diagrams and Screenshots/Machine Learning/Running AlexNet on Pi with Compute Library/compute_library_alexnet.zip?revision=c1a232fa-f328-451f-9bd6-250b83511e01 # Create a new folder mkdir assets_alexnet # Unzip unzip compute_library_alexnet.zip -d assets_alexnet
The contents of the ZIP file are now extracted into the assets_alexnet folder.