B4A Library TensorFlowLite -Update- an experimental machine/deep learning wrapper for B4A

Hello,
This is to complete an old discussion of TensorFlowLite started in this link
https://www.b4x.com/android/forum/t...hine-deep-learning-wrapper.96410/page-3#posts
which had been posted by moster67
@moster67 --> Thanks for the initiative to develop tensorflowlite library
I have just updated the library to work with Lobe and other new versions of platforms
attached the library & the following is the link of the tensorflow-lite-2.2.0.aar file which should be copied into the additional library folder as well

Edit by Erel:
With B4A v13+ you should add these lines to the main module:
B4X:
#ExcludedLib: guava-26.0-android.jar
#AdditionalJar: com.google.guava:guava
#AdditionalJar: com.google.guava:listenablefuture
 

Attachments

  • TensorflowU.zip
    8.9 KB · Views: 221
Last edited by a moderator:
Hello,
This is to complete an old discussion of TensorFlowLite started in this link
https://www.b4x.com/android/forum/t...hine-deep-learning-wrapper.96410/page-3#posts
which had been posted by moster67
@moster67 --> Thanks for the initiative to develop tensorflowlite library
I have just updated the library to work with Lobe and other new versions of platforms
attached the library & the following is the link of the tensorflow-lite-2.2.0.aar file which should be copied into the additional library folder as well
https://repo1.maven.org/maven2/org/tensorflow/tensorflow-lite/2.2.0/tensorflow-lite-2.2.0.aar
Do you have any examples?
 

269573820

Member
Licensed User
Error: (IllegalArgumentException) java.lang.IllegalArgumentException: Cannot convert between a TensorFlowLite buffer with 150528 bytes and a Java Buffer with 602112 bytes.
 
Top