Borrar filtros
Borrar filtros

MATLAB Coder: Why am I receiving Invalid MEX-file error when trying to load a TensorFlowLite model with loadTFLiteModel after upgrading to Update 1 of R2024a release?

1 visualización (últimos 30 días)
I'm using MATLAB Coder and I upgrade to Update 1 of R2024a release. When I try to use the loadTFLiteModel API using the Deep Learning Toolbox Interface for TensorFlow Lite support package, I encounter a strange error (Invalid MEX-file).
What does this error message mean?

Respuesta aceptada

Bill Chou
Bill Chou el 17 de Abr. de 2024
Editada: Bill Chou el 2 de Mayo de 2024
In Update 1 of MATLAB R2024a version released on April 16, 2024, an incompatibility was introduced for the "Deep Learning Toolbox Interface for TensorFlow Lite" support package (version 24.1.0) that results in the following error when a TensorFlow Lite model is loaded using loadTFLiteModel function:
Invalid MEX-file undefined symbol: _ZN6tflite11InterpreterD1Ev, version VERS_1.0
This version incompatibility has been fixed in the 24.1.1 version of the "Deep Learning Toolbox Interface for TensorFlow Lite" support package. In order to resolve the issue, please update the support package using the Add-On Explorer.
  2 comentarios
Sonia
Sonia el 10 de Mayo de 2024
I have a similar issue but there is no "Deep Learning Toolbox Interface for TensorFlow Lite" support package version 24.1.1 available and MATLAB R2024a on my machine still uses version 24.1.0 and cannot find any updates.
Sayan Saha
Sayan Saha el 13 de Mayo de 2024
Hi Sonia,
Can you please follow the steps below and let us know if that resolves the issue for you:
  1. Uninstall the "Deep Learning Toolbox Interface for TensorFlow Lite" support package from your MATLAB installation.
  2. Download the support package from https://www.mathworks.com/matlabcentral/fileexchange/106215-deep-learning-toolbox-interface-for-tensorflow-lite and install it.
If the problem still persists, can you please reach out to our Technical Support team https://www.mathworks.com/support/contact_us.html
Thanks,
Sayan

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by