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

常见问题汇总 #152

Open
zuoqing1988 opened this issue Apr 16, 2020 · 0 comments
Open

常见问题汇总 #152

zuoqing1988 opened this issue Apr 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@zuoqing1988
Copy link
Owner

zuoqing1988 commented Apr 16, 2020

(1)未修改的代码,运行崩溃,无任何提示
可能原因:可能是你的CPU不支持AVX2
解决方式:仅限windows 系统Visual Studio 2015(其他编程环境自行摸索)
ZQ_CNN_CompileConfig.h里设置
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_AVX2
改成
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_AVX
或者
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_SSE
或者
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_NONE
同时,在ZQCNN项目右键-->属性-->C/C++-->代码生成-->启动增强指令集改成和你机器支持的

(2)linux系统下加载zqparams模型报错
可能原因:该文件可能是在windows系统生成的,linux系统未能正确识别
解决方式:改变编码格式
vim MobileNetSSD_deploy.zqparams
:set fileformat=unix
:wq

@zuoqing1988 zuoqing1988 added the bug Something isn't working label Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant