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

Crash in paddle::neon::DepthwiseConvKernel<3, 1>::run on Android and iOS apps #4435

Closed
Xreki opened this issue Sep 27, 2017 · 0 comments · Fixed by #4436
Closed

Crash in paddle::neon::DepthwiseConvKernel<3, 1>::run on Android and iOS apps #4435

Xreki opened this issue Sep 27, 2017 · 0 comments · Fixed by #4436

Comments

@Xreki
Copy link
Contributor

Xreki commented Sep 27, 2017

When using Paddle to inference in mobile apps, and using mobilenet model, the app crash in paddle::neon::DepthwiseConvKernel<3, 1>::run. The detail stack is listed as follows:

 * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x109dec000)
    frame #0: 0x0000000104e70468 paddle-demo`paddle::neon::DepthwiseConvKernel<3, 1>::run(float const*, float const*, int, int, int, int, int, int, float*) + 384
    frame #1: 0x0000000104e6fa88 paddle-demo`paddle::NeonDepthwiseConvFunction<(paddle::DeviceType)1>::calc(paddle::BufferArgs const&, paddle::BufferArgs const&) + 1472
    frame #2: 0x0000000104ec3f80 paddle-demo`paddle::ExpandConvLayer::forward(paddle::enumeration_wrapper::PassType) + 868
    frame #3: 0x0000000104f0fc20 paddle-demo`paddle::NeuralNetwork::forward(std::__1::vector<paddle::Argument, std::__1::allocator<paddle::Argument> > const&, std::__1::vector<paddle::Argument, std::__1::allocator<paddle::Argument> >*, paddle::enumeration_wrapper::PassType) + 380
    frame #4: 0x0000000104d4e398 paddle-demo`paddle_gradient_machine_forward + 60
  * frame #5: 0x0000000105003d1c paddle-demo`run() at ViewController.mm:107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant