-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
paddle配置IOS移动端时出现的配置问题 #5909
Comments
补充一下,我试图运行的是,Paddle/Mobile/AICameraiOSDemo这个demo |
@yukang2017 你好,
|
@Xreki 谢谢您的回复。 |
@yukang2017 谢谢你的测试。我们先排查下Paddle对 |
@Xreki 谢谢您的指导,我在真机上测试了,没有问题,效果和速度都还不错。 |
多谢您的尝试。
这个看来应该确实是我们
请问,您是用的什么模型测试的呢? |
就是用的这个vgg_ssd_net |
明白啦。vgg_ssd_net这个模型精度不错的,但是模型结构太大,所以速度上有点慢,后续我们会放出上传mobilenet的模型,:smile: |
@yukang2017 您好,已经提PR #6081 来Fix x86_64架构的链接问题了,多谢指出问题。 |
您好,我编译的了IOS版的paddle(SIMULATOR,x86_64),所用命令如下。
cmake -DCMAKE_SYSTEM_NAME=iOS
-DIOS_PLATFORM=SIMULATOR
-DIOS_ARCH="x86_64"
-DIOS_USE_VECLIB_FOR_BLAS=ON
-DCMAKE_INSTALL_PREFIX=your/path/to/install
-DWITH_C_API=ON
-DWITH_TESTING=OFF
-DWITH_SWIG_PY=OFF
..
但是在按照 PaddlePaddle/Mobile#26 中的指导配置完后,遇到如下问题:
d: warning: ignoring file /Users/yukang/Desktop/code/Paddle-iOS-Demo/Paddle-iOS-Demo/third_party/libjpeg.a, missing required architecture x86_64 in file /Users/yukang/Desktop/code/Paddle-iOS-Demo/Paddle-iOS-Demo/third_party/libjpeg.a (2 slices)
Undefined symbols for architecture x86_64:
"paddle::simd::internal::batchAddToImpl(float*, float const**, int, unsigned long)", referenced from:
void paddle::CpuMatrix::mul<paddle::CacheRowCpuMatrix, paddle::CpuMatrix>(paddle::CpuSparseMatrix*, paddle::CacheRowCpuMatrix*, paddle::CpuMatrix*, float, float) in libpaddle_capi_whole.a(Matrix.cpp.o)
void paddle::CpuMatrix::mul<paddle::SparseRowCpuMatrix, paddle::CpuMatrix>(paddle::CpuSparseMatrix*, paddle::SparseRowCpuMatrix*, paddle::CpuMatrix*, float, float) in libpaddle_capi_whole.a(Matrix.cpp.o)
void paddle::CpuMatrix::mul<paddle::CpuMatrix, paddle::CpuMatrix>(paddle::CpuSparseMatrix*, paddle::CpuMatrix*, paddle::CpuMatrix*, float, float) in libpaddle_capi_whole.a(Matrix.cpp.o)
"paddle::simd::internal::addToImpl(float*, float const*, unsigned long)", referenced from:
paddle::CpuMatrix::addBias(paddle::Matrix&, float) in libpaddle_capi_whole.a(Matrix.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请问有什么办法能帮帮我吗?
The text was updated successfully, but these errors were encountered: