Deep learning toolbox keeps disappearing

12 次查看(过去 30 天)
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
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.

更多回答(1 个)

yanqi liu
yanqi liu 2022-8-9
编辑:yanqi liu 2022-8-9
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by