AI
nes-c
linux内核研习
展开
-
python实现npy格式文件转换为txt文件
如下代码会将npy的格式数据读出,并且输出来到控制台:import numpy as np##设置全部数据,不输出省略号 import sysnp.set_printoptions(threshold=sys.maxsize)boxes=np.load('./input_output/boxes.npy')print(boxes)np.savetxt('./input...原创 2019-06-19 11:00:55 · 22854 阅读 · 5 评论 -
在Tengine上面验证PB模型是否能正常运行
Tengine的官方代码:https://github.com/OAID/Tengine验证TensorFlow的模型,只需要修改掉test_tf_mobilenet测试程序的模型文件格式即可 ,流程如下:1,修改test_tf_mobilenet文件的如下部分const char* model_file = "./models/Test_Model.pb";2,将Test_...原创 2019-06-18 10:42:32 · 526 阅读 · 0 评论 -
Tengine基于imx6的交叉编译
硬件:zlg的板卡: EPC-6708T-L (M6708Q-1Gl)飞思卡尔,4核A9软件:tengine1.6版本编译链:arm-poky-linux-gnueabitengine的代码:https://github.com/OAID/Tengine编译链的下载:https://www.zlg.cn/ipc/down/down/id/89.html 1,安...原创 2019-07-25 10:30:24 · 918 阅读 · 0 评论 -
imx6交叉编译opencv 3.2,命令行配置编译
下载3.2.0版本的opencv :wget --no-check-certificate https://github.com/opencv/opencv/archive/3.2.0.tar.gz编译链安装交叉编译安装:chmod +x poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-vfp-neon-toolchain-1.7...原创 2019-07-25 18:45:07 · 994 阅读 · 0 评论 -
海思的3516的交叉编译工具无法运行
最近想编译海思的hisi3516CV500的东西,但是安装了编译链之后发现无法执行,报错如下:-bash: /opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-gcc: cannot execute binary file: Exec format error尝试添加了各种32位的兼容包等安装,但是都无效,...原创 2019-09-16 20:37:26 · 1311 阅读 · 0 评论