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?

5 ビュー (過去 30 日間)
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?

採用された回答

Bill Chou
Bill Chou 2024 年 4 月 17 日
編集済み: Bill Chou 2024 年 5 月 2 日
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 件のコメント
Sonia
Sonia 2024 年 5 月 10 日
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 2024 年 5 月 13 日
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

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by