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?

4 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Bill Chou
Bill Chou le 17 Avr 2024
Modifié(e) : Bill Chou le 2 Mai 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 commentaires
Sonia
Sonia le 10 Mai 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 le 13 Mai 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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by