VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
226 stars 84 forks source link

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 10 months ago

Protozzzer commented 10 months ago

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 commented 10 months ago

@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 commented 10 months ago

@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 commented 9 months ago

@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