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

Cannot use test or custom tflite models on A311D using tflite-vx-delegate because of tim-vx E "create tensor fail" #679

Open
Protozzzer opened this issue Jan 24, 2024 · 3 comments

Comments

@Protozzzer
Copy link

I'm trying to run both the models .tflite in the repository examples and the custom neural tracker models on banana pi BPI-CM4 with A311D SOC using tflite-vx-delegate and tim-vx software. I get this result on any model:

image

Yes i use the system khadas on Banana board because banana Linux system does not support GAL and i had problems with finding npu device. But khadas system finds npu.

I use python sdk.

Other usefull information:

image

image

image

In this example, I show the output on the example of your model mobilenet.tflite from acuitytools demo

the error points to exactly tim-vx part.

@sunshinemyson
Copy link
Contributor

@Protozzzer pro,

According to your logs, your user space library version is not aligned with your kernel driver (galcore). So, i'd like suggest you contact the soc vendor to fix the version mis-match issue firstly.

Thanks

@Protozzzer
Copy link
Author

@sunshinemyson thanks for the answer!
let me clarify - do you mean that the Galcore version should be different on the system? What version exactly should it be?

@sunshinemyson
Copy link
Contributor

@Protozzzer ,

In the correct configuration, User library(libGAL) should have same version as kernel module(galcore.ko). Accroding to the following message shows in your system, it doesn't match. The key is version should not match not which version should be use. That's why i suggest you contact SoC vendor(maybe khadas) for the full driver package.
image

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