Get Started -- 执行SqueezeNet网络

安装Tengine参照Tengine安装教程,本章节以ArmV8-linux环境源码编译Tengine为例子。

·下载Tengine源代码

git clone https://github.com/OAID/Tengine.git

 cd Tengine


·配置

cp makefile.config.example makefile.config

Armv8 配置直接使用默认配置即可


·编译

 make -j4


·测试

 ./build/test/bin/ben_sqz -r1


输出

0.2763 - "n02123045 tabby, tabby cat"

 0.2673 - "n02123159 tiger cat"

 0.1766 - "n02119789 kit fox, Vulpes macrotis"

 0.0827 - "n02124075 Egyptian cat"

 0.0777 - "n02085620 Chihuahua"

 --------------------------------------

 ALL TEST DONE


测试成功