second-state / WasmEdge-tensorflow-tools

9 stars 2 forks source link

Wasmedge-tensorflow-tools for android armv7l #9

Open hetvishastri opened 8 months ago

hetvishastri commented 8 months ago

Hi, I wanted to check are there any tensorflowlite tools which are compatible with android armv7l? When I am trying example mention in https://wasmedge.org/docs/contribute/source/os/android/cli, I am getting an error that

/system/bin/sh: ./show-tflite-tensor: not executable: 64-bit ELF file.

I even tried tensorflowlite plugin but it is right now just compatible with linux and darwin. Is there any way to make tensorflowlite work on armv7l?

hydai commented 8 months ago

All of the pre-built binaries and libraries are for aarch64. You have to build it from the source yourself if you want to use it on the armv7l.

This is how we built on the aarch64 platforms: https://github.com/second-state/WasmEdge-tensorflow-tools/?tab=readme-ov-file#build-wasmedge-tensorflow-tools