Skip to content
SqueezeNet for ncnn framework
C++
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
SqueezeNet.cbp
cat.jpg Tabby cat example image Sep 14, 2019
hippo.jpg Hippo example image Sep 14, 2019
squeezenet.cpp C++ example file Sep 14, 2019
squeezenet_v1.1.bin ncnn network weight file Sep 14, 2019
squeezenet_v1.1.param ncnn topology script Sep 14, 2019
synset_words.txt ImageNet labels Sep 14, 2019

README.md

SqueezeNet for the ncnn framework

Papers
https://arxiv.org/pdf/1602.07360.pdf
Training set: ImageNet 2012
Size: 227x227
Prediction time: 85 mSec (RPi 4)

Special made for a bare Raspberry Pi see: https://qengineering.eu/opencv-c-examples-on-raspberry-pi.html

To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/SqueezeNet-ncnn/archive/master.zip
$ unzip -j master.zip
Remove master.zip and README.md as they are no longer needed.
$ rm master.zip
$ rm README.md

Your MyDir folder must now look like this:
cat.jpg
hippo.jpg
shufflenet.bin
shufflenet.param
ShuffleNet.cpb
shufflenetv2.cpp

Run ShuffleNet.cpb with Code::Blocks. Remember, you also need a working OpenCV 4 on your Raspberry.

output image

You can’t perform that action at this time.