B4A Library TensorFlowLite - an experimental machine/deep learning wrapper

Pathrose

Member
Licensed User
Unfortunately Lobe Models cause this error:
Internal error: Cannot create interpreter: Op builtin_code out or range: 111. Are you using old TFLite binary with newer model?Registration failed.
I also get the same error with Lobe AI : Are you using old TFLite binary with newer model?Registration failed. Help needed
 

moster67

Expert
Licensed User
Longtime User
I am not familiar with Lobe AI but as the error message says, perhaps the version I wrapped of Tensorflow (version 1.10) is too old and that is why you get the error message.
I know a user (@gezueb ) on the forum who has successfully used the library and he created his models using Teachable Machine by Google. Maybe you can make a model supporting version 1.10?
Read the attachment in the first post of the below thread:

I may in the future update the wrapper to support more recent formats of the models.
 
Last edited:
Reactions: SJQ

Pathrose

Member
Licensed User
Thank you very much ... Yes it works with teachable machine model...However looking forward for an update!!
 
Last edited:

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Thank you very much @moster67

Note: for anyone concerned:
Above link is broken.
Alternative working link:
https://repo1.maven.org/maven2/org/tensorflow/tensorflow-lite/1.10.0/tensorflow-lite-1.10.0.aar
Also if anyone want to use the latest tensorflow lite library, the latest version can be downloaded from here:
https://mvnrepository.com/artifact/org.tensorflow/tensorflow-lite
After file download, change file name to tensorflow-lite-1.10.0.aar, it will work (version 2.9.0 worked for me)
 

Zkshazly

Member
Licensed User

Attachments

  • TensorflowU.zip
    8.9 KB · Views: 225
Does this wrapper support both object detection & image classification?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…