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: 237
Last edited by a moderator:
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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…