Deep learning toolbox keeps disappearing

Hey community,
Everytime I close Matlab I will have to re-install the deep learning toolbox in order to be able to load and interpret the convolutional neural networks. I have also noticed that the toolbox's apps are missing in the Apps section but in the add-on sectionI find the deep learning toolbox installed so I have to uninstall and reinstall it!
Thank you so much.
Here's the error:
In main/importSignalMenuSelected (line 769)
In matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) (line 37)
In matlab.ui.internal.controller/WebMenuController/fireActionEvent (line 67)
In matlab.ui.internal.controller/WebMenuController/handleEvent (line 55)
In matlab.ui.internal.controller.WebMenuController>@(varargin)obj.handleEvent(varargin{:}) (line 36)
Undefined function 'classify' for input arguments of type 'uint32'.
Error in main/importSignalMenuSelected (line 770)
type=classify(net.Faridtypeclassifier,X);
Error using matlab.ui.internal.controller.WebMenuController/fireActionEvent (line 67)
Error while evaluating Menu Callback.

 採用された回答

David Willingham
David Willingham 2022 年 8 月 9 日

0 投票

Perhaps your preferences directory has become corrupted. Maybe try deleting the preferences directory and restarting MATLAB.
To find the preferences directory, type:
>> prefdir
Delete the folder and then restart MATLAB. This will force MATLAB to regenerate it again.

2 件のコメント

Farid
Farid 2022 年 8 月 9 日
Thank you so much David,
Did that, I will keep you updated on the result.
Farid
Farid 2022 年 8 月 11 日
@David yes it actually did!

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

その他の回答 (1 件)

yanqi liu
yanqi liu 2022 年 8 月 9 日
編集済み: yanqi liu 2022 年 8 月 9 日

0 投票

yes,sir,may be use
type=classify(net.Faridtypeclassifier,mat2gray(X));

2 件のコメント

Farid
Farid 2022 年 8 月 9 日
Thank you, it doesn't help really. when I try to run:
net=load("test.mat"); %test mat is a convolutional neural network.
I face the following warning:
Warning: Variable 'layers_1' originally saved as a nnet.cnn.layer.Layer cannot be instantiated as an object and will be read in as a uint32.
Jose
Jose 2023 年 6 月 26 日
nice

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

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2021b

質問済み:

2022 年 8 月 8 日

コメント済み:

2023 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by