0

I was trying to run a simple model created using teachable machine from google using tflite_flutter, followed the documentation in the package page.

But the following error occurred

Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libtensorflowlite_c.so': dlopen failed: library "libtensorflowlite_c.so" not found

this is my code

load() async {
    tf.Interpreter inter = await tf.Interpreter.fromAsset('model.tflite');
    var input = [
      [1.23, 6.54, 7.81, 3.21, 2.22]
    ];
    var output = List.filled(1 * 2, 0).reshape([1, 2]);
    inter.run(input, output);
    print(output);
  }
Shanu
  • 311
  • 2
  • 16

0 Answers0