Category : file-access

I followed the TensorFlow docs for how to open a saved model from a file: std::unique_ptr<tflite::FlatBufferModel> model = tflite::FlatBufferModel::BuildFromFile("./models/converted_model.tflite"); My C++ code can not find the TFLite model file. I put it in the /src/main/cpp/ and tried to reference it. I got the error E/tflite: Could not open ‘converted_model.tflite’. This may be a really silly ..

Read more