Closed tonysung closed 2 years ago
Hi Tonysung,
Please share your dmesg log and Android logcat content. I think your driver stack not loaded properly.
Thanks
Here you go: dmesg-before-run.txt dmesg-after-run.txt logcat-during-run.txt
Please note that the Segmentation fault happens after the Create tensor fail! error message.
Are these information sufficient?
@tonysung ,
I checked it internally, your driver out of date, you can try it with the guideline by baidu: https://github.com/PaddlePaddle/Paddle-Lite/blob/develop/docs/demo_guides/verisilicon_timvx.md
Thanks
Run TFLite's
benchmark_model
withlibvx_delegate
result in multiple "Create tensor fail!" and segmentation fault.benchmark_model
built from TensorFlow v2.8.0 and works perfectly with all first-party delegates.tim-vx
built from https://github.com/VeriSilicon/TIM-VX/commit/f2e71a3deb178a862c0907a688d0557d1242c101tflite-delegate
built from https://github.com/VeriSilicon/tflite-vx-delegate/commit/5447c63880f4f044f2721f03ddc7d0214e2aebb7arm_android9_A311D_6.4.3
Tried these two models from https://www.tensorflow.org/lite/guide/hosted_models and the results are the same:
Example output: