Trouble with installing package on offline computer

9 views (last 30 days)
Good day,
I have a neural network from tensorflow “model.pb”
I need to convert it into a dlnetwork. For that my goal is to use the Deep Learning Toolbox Importer for Tensorflow-Keras Models and its function importTensorFlowNetwork. Unfortunately I can’t install it directly on my Matlab environnement as my computer has no access to the internet. I have managed to download the add-on folder through another computer with another license, and tried to install it on the offline computer through the Windows command shell, following the indications found in the Readme file below:
2. Interactive Installation
---------------------------
The interactive installer will start MATLAB and then the installer in a separate window. The
executable takes a single argument; the path to the location of the previously downloaded
files. All available support packages in the specified download folder are presented.
In a command prompt, type the following:
a. Windows
cd DRIVE:\<MATLAB_PATH>\bin\win64
install_supportsoftware.exe -archives <path_to_download_folder> [-matlabroot DRIVE:\MATLAB_PATH]
For example:
cd C:\MATLAB\R2018b\bin\win64
install_supportsoftware.exe -archives C:\Users\jsmith\Downloads\MathWorks\SupportPackages\R2018b\
3. Silent Installation
----------------------
NOTE: The silent installation of support packages is only available in MATLAB releases R2018a
and newer. For MATLAB releases before R2018a, see the interactive installation instructions.
The silent installer executable takes two arguments; a path to the location of the previously
downloaded files and the location of the input file. The input file is used to specify the
support packages that are to be installed.
In a command prompt, type the following:
a. Windows
cd DRIVE:\<MATLAB_PATH>\bin\win64
SupportSoftwareInstaller.exe -downloadfolder <path_to_download_folder> -inputfile <path_to_input_file>\ssi_input.txt
For example:
cd C:\MATLAB\R2018b\bin\win64
SupportSoftwareInstaller.exe -downloadfolder C:\Users\jsmith\Downloads\MathWorks\SupportPackages\R2018b -inputfile C:\Users\jsmith\Downloads\MathWorks\SupportPackages\R2018b\ssi_input.txt
The interactive installation, using the command
C:\Program Files\MATLAB\R2023b\bin\win64>install_supportsoftware.exe -archives G:\TFConverter
Opens Matlab main window and a window ‘Install error’ with ‘There are no compatible support packages available to install from this location.’ I am using an Admin status and I know the package’s validity goes from 2017 to 2025 version (I’m using 2023b).
With the silent installion, with the command:
SupportSoftwareInstaller.exe -downloadfolder "C:\MATLAB\Downloads\TFConverter" -inputfile "C:\Users\MATLAB\Downloads\TFConverter\ssi_input.txt"
I get no output at all, and the add-on is yet not installed.
The only goal for me is to convert the network to dlnetwork, if there is another way of doing it, I would gladly try it too.
Thank you for your help, have a great day!

Answers (2)

Image Analyst
Image Analyst on 23 Dec 2024
Contact Mathworks by phone for all installation related questions. It's free and immediate.

Jayanti
Jayanti on 27 Dec 2024
Hi Manon,
To install Deep Learning Toolbox Importer for TensorFlow models on an offline machine, please refer to the following community link:
You only need the Support Software Downloader on an internet-connected machine and MATLAB on the offline computer. This downloader contains the Deep Learning Toolbox Importer for TensorFlow models that you require.
Hope this will be useful!

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!