You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there!!
I have tried training my dataset using the Lobe.ai tool and after exporting it to the TFlite model, I tested it out with my prototype app but it is throwing an error related to the unsupported format as given below.
IllegalArgumentException: Cannot convert between a TensorFlowLite tensor with type STRING and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32).
I knew you are yet to release a stable version for Android export but as a proactive effort, could you please help me out resolving this issue?
The text was updated successfully, but these errors were encountered:
Hey!!
I have updated my lobe.ai application and this time, my app is running smoothly but the tflite model is returning the same prediction with any kind of input on my Flutter App.
May I know, why is this happening??
You have a look at my flutter app code here: Flutter APP
Hi! I don't believe this is related to the Image Tools app here, which operates entirely in Python, so going to close the issue. I'd recommend posting to Reddit (https://reddit.com/r/lobe) for some more traction and visibility. I'm also not familiar with Flutter, but the exported models expect the input images to be arrays of pixel values described in the signature.json file (most likely [1, 224, 224, 3] shaped float32 array of rgb pixels, where the float32 pixel values are between 0-1 instead of 0-255). For all the preprocessing steps, check out the sample code exported with the TFLite model in the example/ subdirectory from the Lobe export.
Hey there!!
I have tried training my dataset using the Lobe.ai tool and after exporting it to the TFlite model, I tested it out with my prototype app but it is throwing an error related to the unsupported format as given below.
IllegalArgumentException: Cannot convert between a TensorFlowLite tensor with type STRING and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32).
I knew you are yet to release a stable version for Android export but as a proactive effort, could you please help me out resolving this issue?
The text was updated successfully, but these errors were encountered: