Android-TensorFlow-Lite-Example icon indicating copy to clipboard operation
Android-TensorFlow-Lite-Example copied to clipboard

FATAL EXCEPTION - pool-1-thread-1

Open olamide-olaniyan opened this issue 6 years ago • 3 comments

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

olamide-olaniyan avatar Sep 19 '18 22:09 olamide-olaniyan

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

Umapraveen avatar Dec 06 '18 05:12 Umapraveen

Try adding this to your build.gradle file

android {
    <All the other configs>
    
    aaptOptions {
       noCompress "tflite"
    }
}

nshdesai avatar May 27 '19 02:05 nshdesai

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

Anshulverma33 avatar Oct 13 '22 09:10 Anshulverma33