sahil280114/tflite_example

Result

mady143 opened this issue · 5 comments

Hi @sahil280114 ,
I had successfully implemented the tflite package in flutter but at last we are getting the output in that we are getting like {{confidence:0.78326,index:1,label:name}} i want to display the only label with specific font and style can you explain how can i get that

Thanks and Regards,
Manikantha Sekhar.

Hey!
You can try this-
var outputString = output.toString().replaceAll("[{", "").replaceAll("}]", "") .replaceAll("label", "LABEL").replaceAll("confidence", "CONFIDENCE");

I resolved it

I resolved the issue by replacing the label.txt file with another file though its working fine and i am display the output without the error please find the bellow attachement

finallll

but i want to know that i want to get the model from serve and also i tried to import my model in Firebase ML server but its showing the file could not exceeds with 100 mb but my tflite model is more that 100mb could you explain me how to resolve and i want to get the model access from server.

Thanks and Regards,
Manikantha Sekhar..

Hi @sahil280114

I want to know some information regarding my app just i have created an app in flutter and i deployed a ml model into that app locally and working fine while taking the build its of more than 40 mb size in that my model is of 42mb size so its taking to large so i want to do i want to call my model from the server i was completed don't about that functionality could you help me in that .

Thanks & Regards,
Manikantha Sekhar.