-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
鲲鹏平台,arrch64操作系统,ncnn推理结果不正确 #2961
Comments
ctest 能 100% 跑完嘛? |
|
5/66 Test #5: test_squeezenet ..................***Failed 0.19 sec
14/66 Test #14: test_convolution .................***Failed 3.26 sec
31/66 Test #31: test_innerproduct ................***Failed 0.16 sec |
复现了。有一点历史渊源...华为 arm 那套服务器,默认用自己的欧拉。
这个编译器里除了
这会导致一些 __ARM_NEON 包的代码没有执行,例如这句
flatten handle 是 0x0,触发后面的 crash。因此最简单的修复方法是: 安装 g++-7以 centos 为例(我印象里华为 stable 的 OS 只有两个版本,也没啥好选的)
改掉默认的 CMAKE_CXX_COMPILER在 toolchain 里面抄一个新的 host-c.gcc.toolchain.cmake,内容就三行
创建个新的 build 目录,编译运行
我这边就正常了。我是幸福,祝福你狗子... |
应该修好啦,有问题可以 reopen issue |
This reverts commit 2c4ae09.
前馈输出与x86的结果对不上,请问有什么解决办法么 @nihui
The text was updated successfully, but these errors were encountered: