当前位置:网站首页>The reason why the ncnn converted model on raspberry pie 4B always crashes when called
The reason why the ncnn converted model on raspberry pie 4B always crashes when called
2022-07-05 20:56:00 【Arnold-FY-Chen】
Recently I got a raspberry pie 4B Do experiments with your board , Compile ncnn after , Convert the model into bin and param When calling after a file, it is always because Segment Fault collapse , Compiled debug Version of ncnn After use gdb Check it out , I found that I always collapsed in convolution_3x3.h in :
#0 0x000dccb0 in ncnn::_ZN4ncnnL14conv3x3s1_neonERKNS_3MatERS0_S2_S2_RKNS_6OptionE._omp_fn.13(void) () at /root/ncnn/src/layer/arm/convolution_3x3.h:423
#1 0xb6eabc64 in ?? () from /usr/lib/arm-linux-gnueabihf/libgomp.so.1
The code at the crash is :
sum0 += r0[0] * k0[0];
r0 It is the present. layer Input characteristic data ,k0 Convolution kernel data , There is no apparent problem , Then I checked from the beginning , I found that the board burned 32 A system of (armv7l), No 64 position (aarch64) Of , So compile ncnn Pay attention to add
-DCMAKE_TOOLCHAIN_FILE=../toolchains/pi3.toolchain.cmake
This option , Otherwise, the converted model will crash every time it is called , Recompile with this option ncnn, And then use onnx2ncn The converted model can be used normally .
边栏推荐
- 2.<tag-哈希表, 字符串>补充: 剑指 Offer 50. 第一个只出现一次的字符 dbc
- CADD course learning (7) -- Simulation of target and small molecule interaction (semi flexible docking autodock)
- 培养机器人教育创造力的前沿科技
- bazel是否有学习的必要
- ViewRootImpl和WindowManagerService笔记
- 教你自己训练的pytorch模型转caffe(一)
- Duchefa MS medium contains vitamin instructions
- Where is a good stock account? Is online account manager safe to open an account
- Abnova e (diii) (WNV) recombinant protein Chinese and English instructions
- 水泥胶黏剂BS 476-4 不燃性测试
猜你喜欢
Duchefa丨低熔点琼脂糖 PPC中英文说明书
Abnova CRISPR spcas9 polyclonal antibody protocol
解读协作型机器人的日常应用功能
2.<tag-哈希表, 字符串>补充: 剑指 Offer 50. 第一个只出现一次的字符 dbc
Abnova丨荧光染料 620-M 链霉亲和素方案
显示屏DIN 4102-1 Class B1防火测试要求
Open source SPL eliminates tens of thousands of database intermediate tables
How to make ERP inventory accounts of chemical enterprises more accurate
10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
ProSci LAG-3 重组蛋白说明书
随机推荐
示波器探头对测量带宽的影响
ts 之 类的简介、构造函数和它的this、继承、抽象类、接口
The Chinese Academy of Management Sciences gathered industry experts, and Fu Qiang won the title of "top ten youth" of think tank experts
Viewrootimpl and windowmanagerservice notes
Mode - "Richter replacement principle"
Typhoon is coming! How to prevent typhoons on construction sites!
科普|英语不好对NPDP考试有影响吗 ?
Monorepo管理方法论和依赖安全
2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
木板ISO 5660-1 热量释放速率摸底测试
Abnova丨培养细胞总 RNA 纯化试剂盒中英文说明书
bazel是否有学习的必要
POJ 3414 pots (bfs+ clues)
SQL series (basic) - Chapter 2 limiting and sorting data
systemd-resolved 开启 debug 日志
Abnova丨DNA 标记高质量控制测试方案
Where is a good stock account? Is online account manager safe to open an account
序列联配Sequence Alignment
Web Service简单入门示例
王老吉药业“关爱烈日下最可爱的人”公益活动在南京启动