I am going through the following codelab:
https://developer.android.com/codelabs/digit-classifier-tflite#5
Description of issue:
I get the following error
2021-01-04 14:58:02.547 27206-27283/org.tensorflow.lite.codelabs.digitclassifier E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
Process: org.tensorflow.lite.codelabs.digitclassifier, PID: 27206
java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: Didn't find op for builtin opcode 'CONV_2D' version '5'
Registration failed.
at org.tensorflow.lite.NativeInterpreterWrapper.createInterpreter(Native Method)
at org.tensorflow.lite.NativeInterpreterWrapper.init(NativeInterpreterWrapper.java:70)
at org.tensorflow.lite.NativeInterpreterWrapper.<init>(NativeInterpreterWrapper.java:61)
at org.tensorflow.lite.Interpreter.<init>(Interpreter.java:224)
at org.tensorflow.lite.codelabs.digitclassifier.DigitClassifier.initializeInterpreter(DigitClassifier.kt:64)
at org.tensorflow.lite.codelabs.digitclassifier.DigitClassifier.access$initializeInterpreter(DigitClassifier.kt:31)
at org.tensorflow.lite.codelabs.digitclassifier.DigitClassifier$initialize$1.run(DigitClassifier.kt:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Clear description
I have looked this up online. It points to some differences in the TF and TFLite versions. But I followed the steps exactly in the codelab and did not expect something like this.
I am going through the following codelab:
https://developer.android.com/codelabs/digit-classifier-tflite#5
Description of issue:
I get the following error
2021-01-04 14:58:02.547 27206-27283/org.tensorflow.lite.codelabs.digitclassifier E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
Process: org.tensorflow.lite.codelabs.digitclassifier, PID: 27206
java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: Didn't find op for builtin opcode 'CONV_2D' version '5'
Clear description
I have looked this up online. It points to some differences in the TF and TFLite versions. But I followed the steps exactly in the codelab and did not expect something like this.