amitshekhariitbhu / Android-TensorFlow-Lite-Example

Android TensorFlow Lite Machine Learning Example
https://outcomeschool.com
Apache License 2.0
752 stars 228 forks source link

FATAL EXCEPTION - pool-1-thread-1 #8

Open olamide-olaniyan opened 6 years ago

olamide-olaniyan commented 6 years ago

I keep getting this error when i replaced the tflite model and the label to my own tflite model. java.lang.RuntimeException: Error initializing TensorFlow! Caused by: java.io.FileNotFoundException: optimized_output_graph.tflite Is there anything im doing wrong. Please put me through

screenshot 81

Umapraveen commented 5 years ago

Im also facing same isssue. Is there any update on this??

nshdesai commented 5 years ago

Try adding this to your build.gradle file


android {
    <All the other configs>

    aaptOptions {
       noCompress "tflite"
    }
}
Anshulverma33 commented 2 years ago

I am also facing this type of error. if is it fix then please reply here????