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

[android][bug] Android singleshot test fail #257

Open
anyj0527 opened this issue Feb 22, 2023 · 2 comments
Open

[android][bug] Android singleshot test fail #257

anyj0527 opened this issue Feb 22, 2023 · 2 comments
Assignees

Comments

@anyj0527
Copy link
Member

Instrumentation test with the build script get crash. Failed TC: SingleShot inference with TFLite model.
Note that test with android studio does not fail.

@anyj0527 anyj0527 self-assigned this Feb 22, 2023
@taos-ci
Copy link
Collaborator

taos-ci commented Feb 22, 2023

:octocat: cibot: Thank you for posting issue #257. The person in charge will reply soon.

@anyj0527
Copy link
Member Author

...
02-22 11:12:06.419  4815  4845 I ml-api  : Successfully set the timeout, 10000 milliseconds.                                                                                                                                          
02-22 11:12:06.419  4815  4917 W GLib    : invoke start                                                                                                                                                                               
02-22 11:12:06.419  4815  4917 W GLib    : input[0] = 0x7d14839030, size: 150528                                                                                                                                                      
02-22 11:12:06.419  4815  4917 W GLib    : output[0] = 0x733dfd70, size: 1001                                                                                                                                                         
02-22 11:12:06.434  4815  4917 W GLib    : invoke finished                                                                                                                                                                            
02-22 11:12:06.434  4815  4917 W GLib    : input[0] = 0x7d14839030, size: 150528                                                                                                                                                      
02-22 11:12:06.435  4815  4917 W GLib    : output[0] = 0x733dfd70, size: 1001                                                                                                                                                         
02-22 11:12:06.435  4815  4913 W GLib    : invoke finished                                                                                                                                                                            
02-22 11:12:06.435  4815  4913 W GLib    : input[0] = 0x7d14811020, size: 150528                                                                                                                                                      
02-22 11:12:06.435  4815  4913 W GLib    : output[0] = 0x7b84837530, size: 0                                                                                                                                                          
02-22 11:12:06.435  4815  4913 E GLib+stderr: **                                                                                                                                                                                      
02-22 11:12:06.435  4815  4913 E GLib+stderr: ERROR:/home/yongjoo/nnstreamer/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc:374:int TFLiteInterpreter::invoke(const GstTensorMemory *, GstTensorMemory *): assertion fa
iled: (tensor_ptr->bytes == output[i].size)                                                                                                                                                                                           
02-22 11:12:06.435  4815  4913 I GLib+stdout: Bail out! ERROR:/home/yongjoo/nnstreamer/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc:374:int TFLiteInterpreter::invoke(const GstTensorMemory *, GstTensorMemory *): as
sertion failed: (tensor_ptr->bytes == output[i].size)
...

This may caused from thread unsafety of Interpreter->Invoke() when using XNNPACK Delegate.

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