Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigmastar平台 加载模型 bus error #5343

Closed
IwraI opened this issue Feb 22, 2024 · 2 comments
Closed

sigmastar平台 加载模型 bus error #5343

IwraI opened this issue Feb 22, 2024 · 2 comments

Comments

@IwraI
Copy link

IwraI commented Feb 22, 2024

detail | 详细描述 | 詳細な説明

编译器版本 gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf
armA7
核心代码

printf("load ncnn model\n");
printf("param  %p\n",My_DeepFilterNet_howl_16k_ep42_ncnn_param_bin);
printf("bin    %p\n",My_DeepFilterNet_howl_16k_ep42_ncnn_bin);
printf("dfnet    %p\n",DFNET_handle->dfnet);
int nRet = 0;
nRet = ((DFNET_handle->dfnet))->load_param(ncnn_param_bin);
printf("nRet %d\n", nRet);
printf("load ncnn param done\n");

nRet= ((DFNET_handle->dfnet))->load_model(ncnn_bin);
printf("nRet %d\n", nRet);
printf("load ncnn model done\n");

输出信息

 /tmp # ./dfnet_ncnn_demo wav_test.wav wav_test_ncnn.wav 
load ncnn model
param  0x19da0c
bin    0x148798
dfnet    0x1dbf20
nRet 4752
load ncnn param done
Bus error

相同的代码在windows平台运行正常,模型正确输出,麻烦看下大概是什么原因导致的

@nihui
Copy link
Member

nihui commented Feb 22, 2024

656b082
master分支上应该已经修好了,可以试试

@IwraI
Copy link
Author

IwraI commented Feb 22, 2024

已验证

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants