当前位置:网站首页>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.1The 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 .
边栏推荐
- Abnova丨荧光染料 620-M 链霉亲和素方案
- ProSci LAG-3 重组蛋白说明书
- 珍爱网微服务底层框架演进从开源组件封装到自研
- 浅聊我和一些编程语言的缘分
- ts 之 类的简介、构造函数和它的this、继承、抽象类、接口
- 10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
- Careercup its 1.8 serial shift includes problems
- Use of thread pool
- 王老吉药业“关爱烈日下最可爱的人”公益活动在南京启动
- Is the securities account given by the school of Finance and business safe? Can I open an account?
猜你喜欢

基于AVFoundation实现视频录制的两种方式

Chemical properties and application instructions of prosci Lag3 antibody

Abbkine trakine F-actin Staining Kit (green fluorescence) scheme

Mathematical analysis_ Notes_ Chapter 9: curve integral and surface integral
mysql全面解析json/数组

教你自己训练的pytorch模型转caffe(二)

CADD course learning (7) -- Simulation of target and small molecule interaction (semi flexible docking autodock)

EN 438-7建筑覆盖物装饰用层压板材产品—CE认证

研學旅遊實踐教育的開展助力文旅產業發展

显示屏DIN 4102-1 Class B1防火测试要求
随机推荐
Abnova total RNA Purification Kit for cultured cells Chinese and English instructions
Analyze the knowledge transfer and sharing spirit of maker Education
模式-“里氏替换原则”
The development of research tourism practical education helps the development of cultural tourism industry
Abnova maxpab mouse derived polyclonal antibody solution
科普|英语不好对NPDP考试有影响吗 ?
ViewRootImpl和WindowManagerService笔记
Abnova 环孢素A单克隆抗体,及其研究工具
Abnova e (diii) (WNV) recombinant protein Chinese and English instructions
Abnova fluorescent dye 620-m streptavidin scheme
清除app data以及获取图标
Use of thread pool
PVC 塑料片BS 476-6 火焰传播性能测定
《SAS编程和数据挖掘商业案例》学习笔记# 19
手机开户股票开户安全吗?我家比较偏远,有更好的开户途径么?
Norgen AAV提取剂盒说明书(含特色)
Norgen AAV extractant box instructions (including features)
显示屏DIN 4102-1 Class B1防火测试要求
Wanglaoji pharmaceutical's public welfare activity of "caring for the most lovely people under the scorching sun" was launched in Nanjing
Abbkine BCA法 蛋白质定量试剂盒说明书