Problem installing Deep Learning Toolbox Importer for Keras Models

조회 수: 3 (최근 30일)
Tom
Tom 2021년 7월 14일
댓글: Amanjit Dulai 2021년 8월 11일
I am running Matlab 2021a with Update 4 on a MacBookPro with MacOS 11.4 and all updates installed.
When I try to install the Deep Learning Toolbox Importer for Keras Models, I get the following error:
Install Folder Error
This folder name is invalid. Folder names can contain alphanumeric characters and '-', '_', '.', or '/' only. The destination folder cannot be named "private".
This happens when I click the Install button and also when I download first then install.
  댓글 수: 1
Amanjit Dulai
Amanjit Dulai 2021년 8월 11일
One possible cause is that the support package path has a whitespace character somewhere in it. You can view this path with this command in MATLAB:
matlabshared.supportpkg.getSupportPackageRoot
You can set a new path using the command matlabshared.supportpkg.setSupportPackageRoot. For example if we want to set the path to '/Users/<username>/Documents/MATLAB/SupportPackages' where <username> is your Mac user name, we would do the following (we would need to replace <username> with the actual user name):
matlabshared.supportpkg.setSupportPackageRoot('/Users/<username>/Documents/MATLAB/SupportPackages')
We can then use matlabshared.supportpkg.getSupportPackageRoot to confirm the path has been set correctly. After setting a support package path where there are no spaces or other illegal characters, it should be possible to install the support package.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by